are you using your xsp as an action via ServerPagesAction? are you using your xsp as the target for the form action? like this:
<form action="save-form-data" ...> in your sitemap: <map:match pattern="save-form-data"> <map:generate type="serverpages" src="save-form-data.xsp"/> ... </map:match> you could redirect after the generation step via <map:redirect-to> but this is kind of ugly. another alternative would be to use your xsp via the already mentioned ServerPagesAction (if you must use xsp): <form action="save-form-data" ...> in your sitemap: <map:match pattern="save-form-data"> <map:act type="serverpages" src="save-form-data.xsp"/> ... </map:match> for this, you must have the serverpages action declared in the sitemap. then you can redirect via <map:redirect-to> in the sitemap or you can redirect from within the xsp via action:redirect-to (action logicsheet). third alternative would be to directly code the action, invoke it in your 'save-form-data' pipeline, after which you redirect. -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Rajasekhar Atchutuni Gesendet: Dienstag, 21. Januar 2003 00:44 An: [EMAIL PROTECTED] Betreff: Re: XSP Redirection HELP!!! Hi, I am sorry I framed my question wrong. I am already successfully saving my form data to oracle using esql:query in my xsp page. What I need to know is how I can send/redirect the user to the home page, after I close the esql:connection. Thanks Raj --------------------------------------------------------------------- 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]>