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 Can we have more than one action file for single Jsp? 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 "Can we have more than one action file for single Jsp?" Watch "Can we have more than one action file for single Jsp?" New topic
Author

Can we have more than one action file for single Jsp?

Siva gurun
Greenhorn

Joined: Dec 15, 2008
Posts: 19
Hi,

I'm new to Struts frame work.
In my project, lot of events are happening in a single JSP page. Can i have more than One Action file for that? Is it like violating Struts standard rule? Please help me in this.... Thanks in advance...
Aditya Keyal
Ranch Hand

Joined: Dec 01, 2008
Posts: 71
You can but it were ideal if you would use DispatchAction or MappingDispatchAction or LookupDispatchAction for a single jsp. Thats why struts has created many actions. And also that would depend on which version of struts you are using. (I assume struts 1). If you want more details use the link provided.


- Aditya Webservices Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can we have more than one action file for single Jsp?