This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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