Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can multiple submit buttons work in STRUTS?

 
Sean Li
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what I suppose to do if I have multiple submit buttons invoke different functions within only one form?
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The struts 1.1 beta has added a DispatchAction class that I believe is expressly used for this purpose (I could be wrong). You might want to check that out. Sorry, I don't have a link readily available.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic