struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandeep Takhar <sandeep_tak...@yahoo.com>
Subject Re: Action forward to another action without form
Date Mon, 07 Jul 2003 17:15:24 GMT
Also important is if you have a different form, the
properties will be populated according to the old
submitted parameters.

sandeep
--- Jing Zhou <jing@netspread.com> wrote:
> Forwarding to a target action is not considered as a
> good practice in the past is because the form bean
> population
> and validation machineries will be invoked again
> when
> Struts process the action (and some more reasons).
> Of course, if there is no form bean specified in the
> target
> action mapping,  it makes sense in such cases.
> 
> In many use cases, I find people really need
> *shared* action controllers in their business
> requirements.
> The best way to have the functionality is to develop
> your own action controller delegation model. In such
> a model, you *find* the target action the same way
> as
> Struts *find* it. It is a very simple solution and
> you
> could avoid the form bean populations and
> validations.
> 
> Jing
> Netspread Carrier
> http://www.netspread.com
> 
> ----- Original Message ----- 
> From: "Frances Aleah Z. de Guzman"
> <adeguzman@ingenium.com.ph>
> To: "Struts Users Mailing List"
> <struts-user@jakarta.apache.org>
> Sent: Sunday, July 06, 2003 9:41 AM
> Subject: Re: Action forward to another action
> without form
> 
> 
> you can define it to your forward in your
> struts-config, instead of
> forwarding
> it to a page, forward it to an action. but this is
> not a good practice
> though.
> 
> On Monday 07 July 2003 10:31 am, Benjamin Stewart
> wrote:
> > Can you point me in the right direction, none of
> my books talk about it,
> > cant find examples etc.
> >
> > Ben
> >
> > Dan Tran wrote:
> > >Yes;)
> > >
> > >
> > >----- Original Message -----
> >
> > From: "Benjamin Stewart"
> <bstewart@waterwerks.com.au>
> >
> > >Newsgroups: Struts
> > >Sent: Sunday, July 06, 2003 6:59 PM
> > >Subject: Action forward to another action without
> form
> > >
> > >>Greetings,
> > >> I have a form that submits values. From the
> Action class I would (in
> > >>some circumstances) like to go directly to
> another action class and then
> > >>forward to a view. Is this possible ?
> > >>
> > >>Thanks
> > >>Ben
> > >
> >
>
>---------------------------------------------------------------------
> > >To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> 
> -- 
> Frances Aleah Z. De Guzman
> SA/Programmer
> Ingenium Technology, Inc.
> http://www.ingenium.com.ph
> 
> Disclaimer :
> This message is intended only for the named
> recipient. If you are not the
> intended recipient you are notified that disclosing,
> copying, distributing
> or taking any action in reliance on the contents of
> this information is
> strictly prohibited.
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> struts-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

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


Mime
View raw message