aspose file tools
The moose likes Struts and the fly likes identifying multiple actions from a one form Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "identifying multiple actions from a one form" Watch "identifying multiple actions from a one form" New topic
Author

identifying multiple actions from a one form

manoj samarasinghe
Greenhorn

Joined: Nov 17, 2004
Posts: 16
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.


manojmanoj
Nathan Pruett
Bartender

Joined: Oct 18, 2000
Posts: 4121

Moving to the Web Application Frameworks forum, since question is about Struts.


-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: identifying multiple actions from a one form
 
Similar Threads
Multiple-submit prevention in JSF
Error 500: BeanUtils.populate
Multiple Button
datagrid in struts
Multiple sliders with a single listener - can it be done?