Don't know if this is what you are looking for but you
can also use the sendRedirect (String url) of the
HttpResponse object.
Would look something like this:
<xsp:logic>
((HttpResponse)response).sendRedirect ("http://my_home_page");
</xsp:logic>
This is kinda clunky because it sends the response header back
to the browser but it does the job from within XSP.
Jim
Jim McCullough
Risk Analytics Inc. - Las Vegas
Software Engineering
[EMAIL PROTECTED]
[EMAIL PROTECTED]
(702) 407-1814 (voice)
(702) 407-1824 (fax)
----- Original Message -----
From: "Rajasekhar Atchutuni" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 20, 2003 3:07 PM
Subject: XSP Redirection HELP!!!
>
> Hi,
>
> I am using cocoon 2.0.3 with tomcat 4.1.
>
> In my xsl form submit I call an action that generates an xsp. The xsp
> writes the form data to sql; After this I need an auto redirect to the
home
> page. How do I do this?
>
> Thanks for the help.
>
> Raj
>
> _________________________________________________________________
> The new MSN 8: smart spam protection and 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>