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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
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.
 
 
subject: identifying multiple actions from a one form