This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
Struts 2 convertion type
Forwarding data struts.xml
[solved]Struts 2 and Vaadin
problem in excluding the parameter in validation interceptor
Validation Problem in struts2