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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to