Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

identifying multiple actions from a one form

 
manoj samarasinghe
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi...
IN MY STRUTS PROJECT................

i used struts html forms with multiple buttons each should trigger different methods..but same action.

how do i seperately identify which button was clicked and excute appropriate method.

it is better to have a way to identify them using java script.
passing parameter or something like that.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Web Application Frameworks forum, since question is about Struts.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic