Custom 404 error pages can be specified in Tomcat's web.xml file located under TomcatFolder\conf\
Add the following to the web.xml: <error-page> <!-- remember to place this error page node after the last servlet mapping node --> <error-code>404</error-code> <location>/web/not_found_404.jsp</location> </error-page> I've also seen this in some project's web.xml , instead of Tomcat's web.xml - but haven't tested it. Some common mistakes to avoid : - Don't name the error page with a number , for example don't name it with 404error.jsp - as JSPs get transformed into Servlets , and Java class names can't begin with numbers. - The order of appearance matters, so place the above error-page tag , after the last servlet-mapping xml node. -Rashmi ----- Original Message ---- From: Susan Richards <[EMAIL PROTECTED]> To: users@tomcat.apache.org Sent: Tuesday, March 13, 2007 4:58:45 PM Subject: Turn off Tomcat Version on 404 error. How does one prevent Tomcat from displaying the Tomcat version in the 404 not found page? ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]