Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 74353 invoked from network); 21 Jun 2000 11:48:53 -0000 Received: from web6204.mail.yahoo.com (128.11.22.115) by locus.apache.org with SMTP; 21 Jun 2000 11:48:53 -0000 Message-ID: <20000621123443.4511.qmail@web6204.mail.yahoo.com> Received: from [198.240.213.30] by web6204.mail.yahoo.com; Wed, 21 Jun 2000 05:34:43 PDT Date: Wed, 21 Jun 2000 05:34:43 -0700 (PDT) From: Giacomo Pati Reply-To: giacomo.pati@pwr.ch Subject: Re: XSP in Cocoon 2 To: cocoon-dev@xml.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N --- Gabor Dolla wrote: > > > > In Cocoon2 the request and response objects available in the XSP page > > a wrappers to the javax.servlet.HttpRequest/HttpResponse objects. This > > is needed to abstract them. Remember that it must be able to use > > Cocoon2 as a service not only for servlets (i.e. as a commanline > > command, in a mail server environment). > > I use XSP in web environment and with XSP+Cocoon1 when something goes > wrong I can redirect the user to a certain web page with > response.sendRedirect(url). > Is it possible with Cocoon2's response object ? I don't see why this should not be possible. Depending on the url to sendRedirect it could be an internal redirect (not going back to the browser, as an like a URL rewrite). You can redirect even on the sitemap level. Giacomo ===== -- PWR GmbH, Organisation & Entwicklung Tel: +41 (0)1 856 2202 Giacomo Pati, CTO/CEO Fax: +41 (0)1 856 2201 Hintereichenstrasse 7 Mailto:Giacomo.Pati@pwr.ch CH-8166 Niederweningen Web: http://www.pwr.ch __________________________________________________ Do You Yahoo!? Send instant messages with Yahoo! Messenger. http://im.yahoo.com/