I said as you said . It works fine with session but
not with request.Which is better to use request or
session.
thanks & regards
--- "Fogleson, Allen" <[EMAIL PROTECTED]>
wrote:
> Sure...
>
> Lets say jsp1 posts to actionA which forwards to
> jsp2
>
> In actionA simply create and instance of the
> actionForm for jsp2,
> populate the parameter into it and save it in the
> appropriate scope.
>
> For instance if my actionMapping for actionB is:
>
> <action path="/actionB" type="mypackage.ActionB"
> name="formB"
> scope="request"> blah blah </action>
>
> you would just do a:
>
> request.setAttribute("formB", formBInstance);
>
> then on the actionForward it will be found and used.
>
> Al
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
__________________________________
Do you Yahoo!?
Make Yahoo! your home page
http://www.yahoo.com/r/hs
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]