Is it possible to do something like this?
<s:form action="formAction1" namespace="/form1">
<s:form action="formAction2" namespace="/form2">
<s:textfield name="user"/>
<s:password name="pwd" />
<s:submit name="sub1" value="start1">
<s:submit name="sub2" value="start2">
</s:form>
</s:form>
i.e. if I click start1
button, then formAction1
will be submitted,
else when start2
is clicked, then formAction2
will be submitted.
Actually I want to have 2 different actions on 2 different buttons in a single form.
I don't want to use url <s:url>
tag.