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() within your action class and just return null.

--- Marcella Turner <[EMAIL PROTECTED]> wrote:
> Hi Rick and Hubert,
> 
> Thanks for giving my problem some thought.  My action mapping is below:
> 
> <action path="/verifyXYZ" name="obtainXYZFormBean"  scope="request" 
> type="my.package.actions.VerifyXYZAction" input="/SelectXYZ.jsp" 
> validate="true">
>       <forward name="success" path="/SelectTerms.jsp">
>       </forward>
>       <forward name="back" path="/ViewPrices.jsp">
>       </forward>
>       <forward name="failure" path="/SelectSPR.jsp">
>       </forward>
>       <forward name="goSpt" path="http://www.yahoo.com"; redirect="true"/>
> </action>
> 
> I believe that I will need to construct an absolute path in order to 
> redirect to the other app, however since I 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
> >Date: Wed, 05 Nov 2003 12:33:56 -0500
> >
> >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 the full http:// path to redirect to an 
> >application in a totally different context from a forward mapping. Are you 
> >putting in the full path to this other servlet you want to redirect to?
> >
> >--
> >Rick
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> _________________________________________________________________
> Is your computer infected with a virus?  Find out with a FREE computer virus 
> scan from McAfee.  Take the FreeScan now! 
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree

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

Reply via email to