This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance 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
  • 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
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic