Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 13535 invoked from network); 29 May 2000 11:28:34 -0000 Received: from mail.devnet-uk.net (62.6.184.200) by locus.apache.org with SMTP; 29 May 2000 11:28:34 -0000 Received: from devnet-uk.net ([194.134.32.131]) by mail.devnet-uk.net (8.9.3/8.9.3) with ESMTP id MAA85551 for ; Mon, 29 May 2000 12:28:34 +0100 (BST) (envelope-from william@devnet-uk.net) Sender: william@devnet-uk.net Message-ID: <393270C0.BD726085@devnet-uk.net> Date: Mon, 29 May 2000 13:29:36 +0000 From: William Urquhart Reply-To: william@devnet-uk.net Organization: devnet (uk) ltd. X-Mailer: Mozilla 4.72 [en] (X11; I; FreeBSD 4.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: Doing a redirect in XSP References: <3932587F.4720BE@devnet-uk.net> <39324D3D.37EAB61F@free.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N What can I say. I prime example of a need to RTFM. Sorry. Echoes wrote: > > William Urquhart wrote: > > > > Hi all, > > > > I have various pages that allow users to create and maintain database > > records with code for displaying and inserting (or updating) in the same > > page. However, since the page's FORM target is _self, I need a way of > > doing a redirect so that I can return the user to the menu on success or > > an error page on failure. Can this be done, if so, how? > > > > I had thought of "tapping" into the Tomcat/Cocoon HTTP Servlet but again > > I don't know how to go about this. > > Just use the response object : > > response.sendRedirect("menu.xml"); > > Fabrice > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > For additional commands, e-mail: cocoon-users-help@xml.apache.org -- Kind regards, William. Wm. G. Urquhart, Oracle DBA EuroNet*Internet BV, http://www.euronet.nl/ Muiderstraat 1, Postbus 11095, 1001 GB Amsterdam T:+31 20 5355263, F:+31 20 5355400, E: williamu@nl.euro.net M:+31 628206038 ICQ: 56047340