Hi,
Of course, you could write a customized Connector to do this.  Or you
could have an entirely separate server dedicated to error messages and
forward there from your custom connector.  Or whatever.  If you want to
go as far as to write a custom Connector to do this, you could do a lot
of other things.  My answer was in terms of current tomcat
code/features, there's no configurable setting to do this.  One of the
main benefits of an open source server with the Apache license is that
you can do whatever you want with it...

Yoav Shapira
Millennium Research Informatics


>-----Original Message-----
>From: Mike Curwen [mailto:[EMAIL PROTECTED]
>Sent: Thursday, August 05, 2004 2:44 PM
>To: 'Tomcat Users List'
>Subject: RE: custom error pages
>
>I think the essence of the request is to get Tomcat to not show a
tomcat
>error page under any circumstances.  For those using Tomcat
stand-alone,
>(ie: they do not have the benefit of being able to use custom apache
error
>pages), is there a solution?
>
>If you say that errorpages specified in web.xml are part of the web
app,
>and
>so are not available unless the app is available, would this be more
>appropriately handled by a customized Connector? ie:
>
>com.foo.my.Connector extends org.apache.coyote.tomcat4.CoyoteConnector
>
>and then I can set up customized pages for 404, 500, etc, etc ?
>
>
>
>
>> -----Original Message-----
>> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>> Sent: Thursday, August 05, 2004 8:11 AM
>> To: Tomcat Users List
>> Subject: RE: custom error pages
>>
>>
>>
>> Hi,
>> The stuff in conf/web.xml is virtually appended to your
>> web.xml.  If your web.xml is inactive or non-existent the
>> stuff in conf/web.xml is not applicable and not consulted.
>>
>>
>> Yoav Shapira
>> Millennium Research Informatics
>>
>
>
>---------------------------------------------------------------------
>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]

Reply via email to