File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Siva gurun
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 71
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic