You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by ajay brar <aj...@hotmail.com> on 2003/10/29 04:53:23 UTC

redirecting

hi!
i have to redirect the user from within my action class to an external site.
i'm currently doing sendRedirect()
is this better, worse or the same as doing setHeader("Location", "<some 
url>")

thanks
cheers
Ajay

_________________________________________________________________
Hot chart ringtones and polyphonics. Go to  
http://ninemsn.com.au/mobilemania/default.asp


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


RE: redirecting

Posted by Navjot Singh <na...@net4india.net>.
sendRedirect() is OK to use. Go ahead.

>-----Original Message-----
>From: ajay brar [mailto:ajaybrar1@hotmail.com]
>Sent: Wednesday, October 29, 2003 9:23 AM
>To: struts-user@jakarta.apache.org
>Subject: redirecting
>
>
>hi!
>i have to redirect the user from within my action class to an 
>external site.
>i'm currently doing sendRedirect()
>is this better, worse or the same as doing setHeader("Location", "<some 
>url>")
>
>thanks
>cheers
>Ajay
>
>_________________________________________________________________
>Hot chart ringtones and polyphonics. Go to  
>http://ninemsn.com.au/mobilemania/default.asp
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org