Thanks a lot.  What a clean solution!
Denis

-----Original Message-----
From: Robert Taylor [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 20, 2003 10:52 AM
To: Struts Users Mailing List
Subject: RE: forward to another page with a parameter


Dennis,

place the objectId  as a parameter in the query string
of the forwarded request. It can then reside on the update
page as a hidden form element so that upon processing the
update, you will have the appropriate objectId.

I answered a question earlier today ("Re:Forwarding Parameters") in
much detail. It may provide you with some more insight.

robert

> -----Original Message-----
> From: Denis Wang [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 20, 2003 10:35 AM
> To: Struts Users Mailing List
> Subject: forward to another page with a parameter
>
>
> Hello, all,
> I have a CreateAction, on completion of which an objectId is
> created.  Then
> I need to forward the screen to UpdateAction, which demands a not-null
> objectId.  CreateAction and UpdateAction use different forms.
> How can I achieve this?  I find out that ActionMapping.findforward() only
> takes one string parameter.
> Thanks.
> Denis
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to