Hi all

I'd like to put severel (submit) buttons into one <html:form> tag. Each of
this button should execute a different action. The problem is that only the
action given in the <html:form> tag is called.
Is there a way to tell struts to analyze the request for a property "action"
and if the "action" property is defined in the parameter list it calls the
action given there? (Of course all input text fields definded in the form
shall be transmitted.)

See example below how I imagine this (finally the action "actionName.do"
shall be called instead of "/dummy.do"

<html:form action="/dummy.do" type="ch.plenum.pcd.TestIterateForm"
name="TestIterateForm">

****************************************************************************
***
<input type="image" name="action=/actionName.do"
src="image/struts-power.gif"/>
****************************************************************************
***

</html:form>

Thanks for any help
Roland

Reply via email to