cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <>
Subject RE: help with redirect and forward
Date Thu, 16 May 2002 02:44:40 GMT
> From: Vij, Bhavna []
> Hi All,
> I am not able to redirect or forward to another pages
> I need to do something like that.
> There's a login page with username and password. If the login is
> successfull, I need to forward it to page1 else I need to go back to
> page and display error.
> I am able to access the request parameters but neither redirect nor
> works.......
> Neither of the following works
> - response.sendRedirect("http://localhost:8888/cocoon/");
> - <response:send-redirect location="login-page.xml"/>
> - <response:send-redirect url="http://localhost:8888/cocoon/"/>

Try using this as close to the top of the page as possible - might

> Can someone help me with that......
> Any help will be greatly appreciated...

...also it is not a good idea to redirect from the page. Do this from
sitemap and you will have much fewer issues.


> Thanks in Advance,
> Bhavna

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message