Re: Trouble redirecting

2003-11-06 Thread Mathieu Grimault
PROTECTED] Sent: Thursday, November 06, 2003 3:33 AM Subject: Re: Trouble redirecting Hubert, I can't thank you enough for this fix! It really saved me when nothing else was working. Thank you, Thank you, Thank you - and long live the struts-user list :) Marcella From: Hubert Rabago

Re: Trouble redirecting

2003-11-05 Thread Hubert Rabago
What does your action mapping look like and what are your returning to struts from within your Action? You can use redirect=true to redirect to yahoo: action path=... forward name=redirectToYahoo path=http://www.yahoo.com; redirect=true/ /action and in your Action: return

Re: Trouble redirecting

2003-11-05 Thread Hubert Rabago
If you want to do the redirect from within your Action, you can still use response.sendRedirect(http://www.yahoo.com;); and then return null to Struts instead of an ActionForward. --- Hubert Rabago [EMAIL PROTECTED] wrote: What does your action mapping look like and what are your returning to

Re: Trouble redirecting

2003-11-05 Thread Marcella Turner
[EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Trouble redirecting Date: Wed, 5 Nov 2003 08:49:41 -0800 (PST) If you want to do the redirect from within your Action, you can still use response.sendRedirect(http

Re: Trouble redirecting

2003-11-05 Thread Rick Reumann
Hubert Rabago wrote: What does your action mapping look like and what are your returning to struts from within your Action? You can use redirect=true to redirect to yahoo: action path=... forward name=redirectToYahoo path=http://www.yahoo.com; redirect=true/ /action and in your Action:

Re: Trouble redirecting

2003-11-05 Thread Hubert Rabago
is in. Thanks again, Marcella From: Hubert Rabago [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Trouble redirecting Date: Wed, 5 Nov 2003 08:49:41 -0800 (PST) If you want to do the redirect from within your

Re: Trouble redirecting

2003-11-05 Thread Rick Reumann
Marcella Turner wrote: The contextPath may prove to be a real problem for me since I would like to transfer control to a servlet in a different contextPath than the one my app is in. Why don't you post the syntax of the exact page you are trying to redirect to. As far as I know you will need

Re: Trouble redirecting

2003-11-05 Thread Marcella Turner
to work to http://www.yahoo.com yet I'm waiting to construct the real absolute path just yet. From: Rick Reumann [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Trouble redirecting Date: Wed, 05 Nov 2003 12:33:56

Re: Trouble redirecting

2003-11-05 Thread Hubert Rabago
can't get the redirect to work to http://www.yahoo.com yet I'm waiting to construct the real absolute path just yet. From: Rick Reumann [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Trouble redirecting

Re: Trouble redirecting

2003-11-05 Thread Marcella Turner
] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Trouble redirecting Date: Wed, 5 Nov 2003 10:56:31 -0800 (PST) It looks like you're not the first to have redirect=true backfire on you when trying to redirect to an absolute path. I wonder why that is. You can try response.sendRedirect

Re: Trouble redirecting

2003-11-05 Thread Phil
Subject: Re: Trouble redirecting Hubert, Thanks for this suggestion, I would like to try it. So, in my action I have: response.sendRedirect(http://www.yahoo.com;); How/where am I returning a NULL? Thanks, Marcella From: Hubert Rabago [EMAIL PROTECTED] Reply-To: Struts

Re: Trouble redirecting

2003-11-05 Thread Hubert Rabago
://www.yahoo.com;); How/where am I returning a NULL? Thanks, Marcella From: Hubert Rabago [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: Trouble redirecting Date: Wed, 5 Nov 2003 10:56:31 -0800 (PST

Re: Trouble redirecting

2003-11-05 Thread Marcella Turner
Mailing List [EMAIL PROTECTED] Subject: Re: Trouble redirecting Date: Wed, 5 Nov 2003 12:12:16 -0800 (PST) public ActionForward execute(...) { response.sendRedirect(http://www.yahoo.com;); return null; } --- Marcella Turner [EMAIL PROTECTED] wrote: Hubert, Thanks for this suggestion