You might be able to accomplish this using a Tomcat Valve (by looking for a
404 response code).

----- Original Message -----
From: "Peter Choe" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>; "Tomcat Users
List" <[EMAIL PROTECTED]>
Sent: Tuesday, February 11, 2003 08:19
Subject: RE: web page errors


> do i need to set up the web.xml for each application, or is there a way to
> have one set up for all the applications in one place?
>
> Peter Choe
> At 10:04 AM 2/11/2003, Shapira, Yoav wrote:
> >Howdy,
> >
> >
> > >can tomcat handle errors such as 404 document not found without apache?
> >
> >Yes.  Anything that claims it implements the HTTP protocol has to handle
> >these.
> >
> > >how can i configure tomcat to direct these errors to an error page?
> >
> >It'll automatically direct these errors to its default error pages.  Use
> >the <error-page> directive in your web.xml to define custom error pages.
> >See the servlet spec chapter 13 for a full explanation of the
> ><error-page> element with examples.
> >
> >Yoav Shapira
> >Millennium ChemInformatics
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: [EMAIL PROTECTED]
> >For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to