Howdy, If you're creating a custom error-page as others have suggested, you probably want it for more than just 404s, so consider using a general exception type rather than code, e.g. java.lang.Exception ;) (If you're not sure how to specify this, read the servlet specification deployment descriptor chapter section on error-page).
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Allan Bruce [mailto:[EMAIL PROTECTED] >Sent: Thursday, January 22, 2004 7:00 AM >To: [EMAIL PROTECTED] >Subject: Stop displaying version info > >Is there a way I can get tomcat to stop displaying so much info if somebody >hits a 404 or other error? Its a good clue for hackers to start if they >know >what version of a popular software I am running. I have it so that apache >displays no info, now just to get tomcat to do the same. >Thanks >Allan > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
