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








----Original Message Follows----
From: "Antonio Gallardo" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: <[EMAIL PROTECTED]>
Subject: Re: XSP Redirection HELP!!!
Date: Mon, 20 Jan 2003 17:31:19 -0600 (CST)
MIME-Version: 1.0
Received: from apache.org ([63.251.56.142]) by mc6-f24.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 20 Jan 2003 15:29:37 -0800
Received: (qmail 48698 invoked by uid 500); 20 Jan 2003 23:29:25 -0000
Received: (qmail 48685 invoked from network); 20 Jan 2003 23:29:23 -0000
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
Precedence: bulk
list-help: <mailto:[EMAIL PROTECTED]>
list-unsubscribe: <mailto:[EMAIL PROTECTED]>
list-post: <mailto:[EMAIL PROTECTED]>
Delivered-To: mailing list [EMAIL PROTECTED]
X-Authentication-Warning: ags01.agsoftware.dnsalias.com: apache set sender to [EMAIL PROTECTED] using -f
Message-ID: <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
X-Priority: 3
Importance: Normal
X-Mailer: SquirrelMail (version 1.2.9)
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 20 Jan 2003 23:29:37.0819 (UTC) FILETIME=[CC537EB0:01C2C0DB]

Rajasekhar Atchutuni dijo:
>
> 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

Hi:

I understand that you generate a request that use the XSP Generator.
(Please, dont get me wrong here. I am just trying to explain what I
understanded from your mail). If this is true....

You can change the pipeline to make the update to the SQL database using
Database Actions (there are two flavors) and after sucessfull update, you
redirect the page where you need it.

Any Action is executed inmediately as they are readed from the sitemap.
Please read between lines:

"before the selected pipeline is executed".

For more info about Database Actions see:

http://wiki.cocoondev.org/Wiki.jsp?page=DatabaseActions

By the way, If you can, update to 2.0.4 that is more stable...

Note: I dont know if Modular Database Actions works in 2.03 I think no,
but check for some examples if this flavor of DB Actions are included or
not. Original Database Actions are fine too.

I hope It will helps you.

Best Regards,

Antonio Gallardo.


>
> _________________________________________________________________
> 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]>


_________________________________________________________________
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]>

Reply via email to