o: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: RE: forwarding to action needing different request parameters
Date: Wed, 12 May 2004 15:18:06 -0500
I really don't want to modify the secon
ction
-Original Message-
From: None None [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 3:10 PM
To: [EMAIL PROTECTED]
Subject: RE: forwarding to action needing different request parameters
I see what you mean... But, and again, I am new to Struts, I think the
ActionForm is al
t;Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Subject: RE: forwarding to action needing different request parameters
Date: Wed, 12 May 2004 14:49:54 -0500
I see what you are saying about using the ActionForm.
est object
-Original Message-
From: None None [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 2:44 PM
To: [EMAIL PROTECTED]
Subject: RE: forwarding to action needing different request parameters
I'm pretty new to Struts, and it's entirely possible I'm not following what
yo
I'm pretty new to Struts, and it's entirely possible I'm not following what
your saying, but...
If the first Action is getting an ActionForm with the four parameters
populated, you can simply instantiate the second Action, passing it the
ActionForm, and then return from the first Action the Act
: RE: forwarding to action needing different request parameters
I am pretty sure I got this to work. Here's how I remember it:
Create a new Actionforward. Set it equal to the path (got from getPath).
Then add the params you want and then use setPath. Is this what you did?
> -Original
TED]
> Sent: Wednesday, May 12, 2004 3:28 PM
> To: 'Struts Users Mailing List'
> Subject: RE: forwarding to action needing different request parameters
>
>
> I tried this and got the following exception
>
> java.lang.IllegalState
Wednesday, May 12, 2004 3:28 PM
> To: 'Struts Users Mailing List'
> Subject: RE: forwarding to action needing different request parameters
>
>
> I tried this and got the following exception
>
> java.lang.IllegalStateException: Configuration is frozen
> at org
-
From: Geeta Ramani [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 1:59 PM
To: Struts Users Mailing List
Subject: RE: forwarding to action needing different request parameters
I think you can do this: get the ActionForward object as usual. Then use the
ActionForward's getPath and se
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 1:59 PM
To: [EMAIL PROTECTED]
Subject: RE: forwarding to action needing different request parameters
I think you can do this: get the ActionForward object as usual. Then use the
I think you can do this: get the ActionForward object as usual. Then use the
ActionForward's getPath and setPath methods to add the rest of your params as query
string parameters to the original path. This I am pretty sure will work.
But if you want to look at a nicer solution, maybe the Request
11 matches
Mail list logo