cocoon-users mailing list archives

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

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"/>
   </map:handle-errors>

Any advice would be appreciated

Regards,
Sean Hope 


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message