This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: identifying multiple actions from a one form