> <s:submit> can submit to different actions, I'm just not sure if the
> namespace can be specified.

How? Wouldn't the Struts tag just render a form tag with two different
submit buttons and clicking on either one will invoke the action
defined in the form tag? I don't see how this is possible without the
use of JavaScript?


On Sun, Mar 1, 2009 at 8:52 AM, Dave Newton <[email protected]> wrote:
> Zarar Siddiqi wrote:
>>
>> <s:submit/> submits a <s:form/>.  If you want your two submit buttons
>> to call two different actions, you'll need two different forms.
>
> <s:submit> can submit to different actions, I'm just not sure if the
> namespace can be specified.
>
> Dave
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to