RE: Default error page generation logic in tomcat

2008-08-13 Thread Angus Mezick
Create your own 404 error page and add it to your web.xml. error-page error-code404/error-code location/error/404.jsp/location /error-page − error-page exception-typejava.lang.Throwable/exception-type location/error/500.jsp/location /error-page − error-page error-code500/error-code

Re: Default error page generation logic in tomcat

2008-08-13 Thread Mark Thomas
Raghavendra Datt wrote: Hi Guys, I had a specific requirement related to tomcat error generation. When a default error page is generated like 404 error page, tomcat appends its version info at the bottom of the page. I don't want this version to be displayed on the error page. I am trying to

Re: Default error page generation logic in tomcat

2008-08-13 Thread Raghavendra Datt
Mark, Appreciate your response. I have this tomcat running on linux and I don't find catalina.properties any where in the tomcat folders. so, I tried unzipping this catalina.jar and changed the ServerInfo.Properties and zipped into catalina.jar. but, still I see that version info on an error.

RE: Default error page generation logic in tomcat

2008-08-13 Thread Caldarale, Charles R
From: Raghavendra Datt [mailto:[EMAIL PROTECTED] Subject: Re: Default error page generation logic in tomcat I have this tomcat running on linux and I don't find catalina.properties any where in the tomcat folders. A red flag just went up. Are you using a real Tomcat, or a 3rd-party

Re: Default error page generation logic in tomcat

2008-08-13 Thread Raghavendra Datt
but, was not actually overriding catalina.jar proprely. Thanks, Raghu On Wed, Aug 13, 2008 at 1:02 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Raghavendra Datt [mailto:[EMAIL PROTECTED] Subject: Re: Default error page generation logic in tomcat I have this tomcat running on linux and I