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