Hey guys, I have set up an error page for the 501 error code. But it seems that it is not going to the error.html page when a 501 happens. Testing with Tomcat 7.
<error-page> <error-code>501</error-code> <location>/error.html</location> </error-page> Here's how i'm testing - $ telnet localhost 8080 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. METHOD /lab-0.1.0.BUILD-SNAPSHOT/signup HTTP/1.1 Host: localhost HTTP/1.1 501 Not Implemented Server: Apache-Coyote/1.1 Transfer-Encoding: chunked Date: Wed, 14 Sep 2011 18:59:52 GMT Connection: close 0 Connection closed by foreign host. So i see 0 instead of the html content of error.html - Any ideas ? Thank you -- View this message in context: http://old.nabble.com/501-error-not-going-to-location-tp32466722p32466722.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org