tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arjan Gerritsen" <arja...@hotmail.com>
Subject error pages
Date Fri, 19 Sep 2003 14:53:38 GMT
Hi , the next question is bothering me:

I want to have custom error pages for my webapp.

Well this works:

(web.xml of Tomcat)
<error-page>
  <error-code>500</error-code>
  <location>/server_error.html</location>
</error-page>
<error-page>
  <error-code>404</error-code>
  <location>/file_not_found.html</location>
</error-page>

But this is for all the webapps on that Tomcat server. I want to specify a 
spefic one for one application. Whene i put that conf. code in the web.xml 
of my webapp it doesn't work. Anyone who can help me?

Regards,
Arjan.

_________________________________________________________________
Chatten met je online vrienden via MSN Messenger. http://messenger.msn.nl/


Mime
View raw message