AW: Custom Error Document

2000-10-31 Thread Amrhein, Thomas
Hi, I want to do the same. Belong the Servlet-Spec 2.2 we have to edit web.xml like this: ... web-app ... error-page error-code404/error-code location/404.html/location /error-page /web-app But my tomcat hangs in an endless loop. He does not find 404.html. In my

[tomcat-user] Re: AW: Custom Error Document

2000-10-31 Thread kenneth topp
Yes, I consider tomcat to be broken, in this regard. But I make it .jsp and it works fine. Also, if you have virtual hosts, this hangs (as opposed to a loop), so I just made an default context to one of the virtual hosts, so it would pick up the WEB-INF/web.xml... probably causes some other