You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Steve <co...@excite.com> on 2004/05/24 20:22:01 UTC

redirectTo method

 Hi,I want to redirect the control to a page after some processing. I say cocoon.redirectTo("testpage"); In my sitemap i have an appropriate pipeline for this. But when i again submit a button, the previous uri gets appended with the current uri.( as it was redirected from another page). This gives an error no pipline matched the request. How do i prevent the appending of the previous uri with the current uri. Thanx in advance. P.S:- I tried cocoon.sendPage() too.:( Regards,Steve

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!

Re: redirectTo method

Posted by Upayavira <uv...@upaya.co.uk>.
Read the docs on redirects, esp on HTTP redirects.

http://cocoon.apache.org/2.1/userdocs/concepts/redirection.html

You may then understand why this is happening.

Upayavira

Steve wrote:

> Hi,
> I want to redirect the control to a page after some processing.
>
> I say cocoon.redirectTo("testpage");
>
> In my sitemap i have an appropriate pipeline for this.
>
> But when i again submit a button, the previous uri gets appended with 
> the current uri.( as it was redirected from another page).
>
> This gives an error no pipline matched the request.
>
> How do i prevent the appending of the previous uri with the current uri.
>
> Thanx in advance.
>
> P.S:- I tried cocoon.sendPage() too.:(
>
> Regards,
> Steve
>
>
>
>
> ------------------------------------------------------------------------
> *Join Excite! - http://www.excite.com*
> The most personalized portal on the Web! 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org