You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Frank Zammetti <fz...@hotmail.com> on 2004/08/16 22:07:13 UTC

Re: How to call multiple submits in a jsp form(in STRUTS other than using javascript)

Alternatively, don't forget that Actions are just classes, and as such you 
can always instantiate an instance of an Action from within another and call 
it's execute() method yourself.  Your app has to be designed to allow for 
this, but it's fairly trivial to do so.  LookupDispatchAction is I think the 
better way though, but sometimes the simpler approach is sufficient.

Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
www.omnytex.com





>From: "Jeffrey Stairs" <fb...@skynet.be>
>Reply-To: "Struts Users Mailing List" <us...@struts.apache.org>
>To: "Struts Users Mailing List" <us...@struts.apache.org>
>Subject: Re: How to call multiple submits in a jsp form(in STRUTS other 
>than  using javascript)
>Date: Sat, 14 Aug 2004 10:43:34 +0200
>
>Hi Manjo,
>
>Have a look at the documentation for the LookupDispatchAction.  This should
>do what you want.
>
>Regards,
>Jeff
>----- Original Message -----
>From: "jacob skariah" <ma...@yahoo.com>
>To: <us...@struts.apache.org>
>Sent: Saturday, August 14, 2004 8:07 AM
>Subject: How to call multiple submits in a jsp form(in STRUTS other than
>using javascript)
>
>
> > Hi,
> >
> >    Is there any better way to call multiple submits in
> > a jsp form using Struts without using javascripts.
> >
> > I have to call diffrent actions on each submit,(say
> > listing , deleting and adding) , this can be easily
> > done through scripts , but what if scripts is
> > disabled.
> >
> > Does Struts have any better solution.
> >
> > Thanx in Advance
> >
> > Regards
> >
> > manoj
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - Send 10MB messages!
> > http://promotions.yahoo.com/new_mail
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>

_________________________________________________________________
Check out Election 2004 for up-to-date election news, plus voter tools and 
more! http://special.msn.com/msn/election2004.armx


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