Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

handle many actions from one jsp page in struts

 
manoj samarasinghe
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

Can we handle more than one action from single jsp page ?
if possible how.

thanks.
 
Amith Mahalingaiah
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes you can.

you can do with the help of DispatchAction or LookupDispatchAction built-in classes provided by struts.
 
John Smith
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
as previously mention LookupDispatchAction is your friend or another method used is by changing the form submit target with javascript depending on where you want the data to be sent
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic