aspose file tools*
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
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: 23

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