• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Execute Actions automatically when JSP loads

 
Sunni srivastav
Greenhorn
Posts: 24
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suppose I have a JSP page first.jsp and

some action defined in struts.xml

let it be


Now,is it possible to execute this action the moment first.jsp loads in browser.

Please guide me.
 
Mohana Rao Sv
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
while loading the jsp you execute another action.

Refer the link http://struts.apache.org/2.0.14/docs/action.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic