> <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 <newton.d...@yahoo.com> 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: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to