cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hope Sean <>
Subject [C2rc2] handle-errors not working
Date Wed, 12 Dec 2001 10:41:10 GMT

I am running C2rc2 on Tomcat 3.2.3. When I request a non-existent page such
as http://localhost:8080/cocoon/doesnotexists I get an HTTP/1.0 404 Not
Found response but no page is rendered and the browser (IE5.5) renders a
blank page. I thought that my handle-errors section (below) would result in
a decent error message being displayed. (The 404.xsl is currently an
identical copy of the default "stylesheets/system/error2html.xsl" file.

   <map:handle-errors type="404">
    <map:transform src="system/stylesheets/404.xsl"/>
    <map:serialize status-code="404"/>

Any advice would be appreciated

Sean Hope 

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message