RE: ForwardAction with Redirect

2003-11-20 Thread Juan Alvarado
GE:org.apache.struts.util.PropertyMessageResou > > [EMAIL PROTECTED] > > > > > > > > -Richard > > > > -Original Message- > > From: Yee, Richard K,,DMDCWEST > [mailto:[EMAIL PROTECTED] > > Sent: Thursday, November 20, 2003 11:46 AM &

RE: ForwardAction with Redirect

2003-11-20 Thread Yee, Richard K,,DMDCWEST
, November 20, 2003 2:18 PM To: Struts Users Mailing List Subject: RE: ForwardAction with Redirect Yes I know that, but do to some issues that I don't really understand with respect to virtual hosting, we are not able to do any forwards and therefore we're left with doing nothing but red

RE: ForwardAction with Redirect

2003-11-20 Thread Juan Alvarado
ED] > Sent: Thursday, November 20, 2003 11:46 AM > To: 'Struts Users Mailing List' > Subject: RE: ForwardAction with Redirect > > > Juan, > If you change ForwardAction to do a redirect instead > of a forward, then you > will lose everything in the request o

Re: ForwardAction with Redirect

2003-11-20 Thread Hubert Rabago
There's not a whole lot of redirect support built in. I use it a lot on my webapps and I'm interested in submitting code for more redirect support, but when I try to bring it up in the dev list, I don't get a response. Of course, I haven't contributed anything anywhere yet so I may be going

RE: ForwardAction with Redirect

2003-11-20 Thread Yee, Richard K,,DMDCWEST
] org.apache.struts.action.MESSAGE:org.apache.struts.util.PropertyMessageResou [EMAIL PROTECTED] -Richard -Original Message- From: Yee, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 11:46 AM To: 'Struts Users Mailing List' Subject: RE: ForwardAction with Redirect Ju

RE: ForwardAction with Redirect

2003-11-20 Thread Yee, Richard K,,DMDCWEST
ailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 11:36 AM To: Struts Users Mailing List Subject: RE: ForwardAction with Redirect That's not what it sounds like he wants. He wants a generic action that he can throw a path at and have it perform a redirect instead of a forward. I d

RE: ForwardAction with Redirect

2003-11-20 Thread Kris Schneider
t; > > > You don't need to write your own ForwardAction at all. > > This is pretty common. > > -Richard > > > -Original Message- > From: Juan Alvarado [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 20, 2003 11:09 AM > To: Strut

Re: ForwardAction with Redirect

2003-11-20 Thread Rick Reumann
Yee, Richard K,,DMDCWEST wrote: Rick is right. All you need to do is set the redirect attribute of your forward to "true" like in this example: I was wrong.. Juan was talking about ForwardAction not ActionForward (confusing I know:). -- Rick --

RE: ForwardAction with Redirect

2003-11-20 Thread Yee, Richard K,,DMDCWEST
EMAIL PROTECTED] Sent: Thursday, November 20, 2003 11:09 AM To: Struts Users Mailing List Subject: Re: ForwardAction with Redirect Hi Hubert: Thanks for the tip on that. I will give it a try. I wonder why they just don't add this to the distribution. It seems like a simple enough thing. Ta

Re: ForwardAction with Redirect

2003-11-20 Thread Juan Alvarado
Hi Hubert: Thanks for the tip on that. I will give it a try. I wonder why they just don't add this to the distribution. It seems like a simple enough thing. Take care --- Hubert Rabago <[EMAIL PROTECTED]> wrote: > It doesn't. ForwardAction generates ActionForward > objects specifying only the

Re: ForwardAction with Redirect

2003-11-20 Thread Hubert Rabago
It doesn't. ForwardAction generates ActionForward objects specifying only the path and the contextRelative properties. Juan, the good news is its easy to write your own. Just copy the ForwardAction code and add "retVal.setRedirect(true);" in the execute() method, then point your action mapping t

Re: ForwardAction with Redirect

2003-11-20 Thread Rick Reumann
Juan Alvarado wrote: Is there any way to configure org.apache.struts.actions.ForwardAction to do a redirect instead of a forward. Hey Juan, what's up:) Maybe I'm missing your question but in you action mapping you could just add redirect="true". Would that accomplish what you need? -- Rick

ForwardAction with Redirect

2003-11-20 Thread Juan Alvarado
Is there any way to configure org.apache.struts.actions.ForwardAction to do a redirect instead of a forward. Thanks __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ -

Re: ForwardAction with redirect

2003-03-19 Thread Ian Hunter
PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, March 19, 2003 10:11 AM Subject: ForwardAction with redirect > I saw a Bugzilla post from someone who needed to use ForwardAction but get a > redirect rather than a forward, and suggested impl

ForwardAction with redirect

2003-03-19 Thread Ian Hunter
I saw a Bugzilla post from someone who needed to use ForwardAction but get a redirect rather than a forward, and suggested implementing a RedirectAction -- did that ever get done? How are folks handling this scenario? - To unsub