You can just use JavaScript passing some parameters
You can also try this approach:
http://husted.com/struts/tips/003.html
-Original Message-
From: Frers Michael [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 6:54 PM
To: Struts Users Mailing List
Subject: html:submit and
Your action can read the value attribute of your
submit tag. This is the label in your case.
bean-el:message key=search.new/
Use the request.getParameter to find out which button
was clicked. Give each of your submit buttons a
different NAME. request.getParameter(NAME) will return
the label of
: RE: html:submit and 2 buttons
Your action can read the value attribute of your
submit tag. This is the label in your case.
bean-el:message key=search.new/
Use the request.getParameter to find out which button
was clicked. Give each of your submit buttons a
different NAME
3 matches
Mail list logo