You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by Magnús Þór Torfason <ma...@handtolvur.is> on 2001/03/22 13:40:29 UTC

response.sendRedirect()

I know this is not a core turbine question, but I am a bit stumped.

In special cases, I have to use a response.sendRedirect() to forward a user
to another page (site).

This worked fine while I was using pure screens, but after switching to
templates the layout of the page is displayed, along with a "Document Moved"
text.

Does anyone know what could be messing up the redirect?


Magnus


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


Re: response.sendRedirect()

Posted by Jon Stevens <jo...@latchkey.com>.
on 3/22/01 4:40 AM, "Magnús Þór Torfason" <ma...@handtolvur.is> wrote:

> I know this is not a core turbine question, but I am a bit stumped.
> 
> In special cases, I have to use a response.sendRedirect() to forward a user
> to another page (site).
> 
> This worked fine while I was using pure screens, but after switching to
> templates the layout of the page is displayed, along with a "Document Moved"
> text.
> 
> Does anyone know what could be messing up the redirect?
> 
> 
> Magnus

You need to make sure to properly set the return type to 302

-jon


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