This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Execute Actions automatically when JSP loads Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Execute Actions automatically when JSP loads" Watch "Execute Actions automatically when JSP loads" New topic
Author

Execute Actions automatically when JSP loads

Sunni srivastav
Greenhorn

Joined: Feb 15, 2011
Posts: 22

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

Joined: Aug 01, 2007
Posts: 485

while loading the jsp you execute another action.

Refer the link http://struts.apache.org/2.0.14/docs/action.html


ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Execute Actions automatically when JSP loads