cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Ikeda <>
Subject RE: Error 404....?!?
Date Wed, 06 Dec 2000 21:49:08 GMT
That depends on the webserver you are using.
In Tomcat 3.1, with each web application you can declare error pages through
the web.xml file. This is set using the <error-page> tag.

For example:
When editing this file, make sure this tag is placed at the correct location
(after the taglib tags). If you are unfamiliar with using the web.xml file
check the Servlet Specification 2.2 off the Sun website as it is a great
reference to structuring web applications.

One problem I find though is that IE5.x won't display these pages (at least
not for me) but if you can get it to work let me know as it is probably my
IE5.x installation.

Good luck,
Anthony Ikeda,
Web Application Developer,
Proxima Technology,

Level 13,
181 Miller Street,
North Sydney

PH: +612-9458-1718
Mob: 041 624 5143

> -----Original Message-----
> From: Heinz R., ITS P E320, TR []
> Sent: Thursday, 7 December 2000 3:32 AM
> To: ''
> Subject: Error 404....?!?
> Hello.
> Is there a way to show an alternative error page instead of the
> org.xml.sax.SAXParseException: File "xyz.xml" not found. 
> message generated by cocoon when an user requests a non-existing file?
> Greetings,
> Roman
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message