you can set the property on the submit button and then use request.getParameter 
to get the value of the propery in your action.

example : 

<html:form action="someAction.do">
  <html:submit value="process" property="toDo" />
  <html:submit value="view by org" property="toDo" />
  <html:submit value="view by product" property="toDo" />
</html:form>

In the perform method of your action you can then write : 
  String s = request.getParameter("toDo");
  if ( s.equals("process"))
      process();
  else if ( s.equals("view by org"))
      viewByOrg();
  else if ( s.equals("view by product"))
      viewByProduct();

Greetings,
Geert.

-- 
Get your firstname@lastname email at http://Nameplanet.com/?su

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to