Hi,
 
I suggest you to use : <html:submit property="propertyname" value="buttonname"/>
ex: 
<html:submit property="myAction" value="add"/>
<html:submit property="myAction" value="del"/>
and in Action class, to determine witch button is pressed: 
String button = request.getParameter("myAction");
if ( button.equals("add") ) { ... }
 
But I don't know if <html:submit property="propertyname" value="</bean:message ... 
/>"/> work ?
  M�ris Orbid�ns <[EMAIL PROTECTED]> a �crit : 
Hello all

I have several submit buttons like this:




key="button.prev"/>
key="button.next"/>
key="button.save"/>
key="button.delete"/>
key="button.add"/>



The question is: How to determine which one has been pressed ?


Maris Orbidans



--
To unsubscribe, e-mail: 
For additional commands, e-mail: 



---------------------------------
Yahoo! Courrier -- Une adresse @yahoo.fr gratuite et en fran�ais !

Reply via email to