struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Barr <sb...@chariot.net.au>
Subject Re: Design Questio
Date Sat, 08 Feb 2003 05:04:07 GMT

Correcting :)

Consider this scenario

1. An ActionForwardA forwards to a a.jsp with ActionFormA
2. a.jsp is submitted
3. ActionForwardB gets an ActionFormA, does some 'happy-happy' stuff,
then forwards to x.jsp with ActionFormB.

Regards
Scott Barr


On Sat, 2003-02-08 at 14:29, Justin F. Knotzke wrote:
>      Hi,
> 
>     I am sure this is a basic question.
> 
>     Take a situation in where we have 2 JSPs, 2 ActionForms, and 2
> ActioForward classes:
> 
>     a.jsp
>     b.jsp
> 
>     ActionFormA.class
>     ActionFormB.class
> 
>     ActionForwardA.class
>     ActionForwardB.class
> 
>     a.jsp has form who's action parameter calls ActionForwardA.class
> with ActionFormA.class as it's form object.
> 
>     ActionForwardA.class does some happy-happy stuff and then calls
> b.jsp.
> 
> 	Correct me if I am wrong but b.jsp will be called using
> ActionFormA.class's data. Keeping in mind that ActionForwardA.class
> requires data from ActionFormA.class, what do I do if I want b.jsp to be
> mapped to ActionFormB.class?   
> 
>    Justin.
> 
> --
> Justin F. Knotzke 
> jknotzke@shampoo.ca
> http://www.shampoo.ca
> 
> ---------------------------------------------------------------------
> 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


Mime
View raw message