You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Frers Michael <fr...@Sisis.de> on 2003/11/05 17:53:50 UTC

html:submit and 2 buttons

Hello

just a little question about the taglib

i want to have one form with 2 buttons in it


one button should do "new"
the other "update"

how can i make my action class know which button was hit?

additionally i want that the buttons get there labels from a property file
that works as shown below but how can i now make my action class know which button is hit?
<html-el:submit ><bean-el:message key="search.new"/></html-el:submit>