cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From William Urquhart <will...@devnet-uk.net>
Subject Re: Doing a redirect in XSP
Date Mon, 29 May 2000 13:29:36 GMT
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

Mime
View raw message