yes.  i have missing.html in the root directory.

Peter Choe

At 12:28 PM 2/11/2003, you wrote:
Just a quick question...

Did you actually put an HTML document named missing.html in the root folder
of your context?

Sean Dockery
[EMAIL PROTECTED]
Certified Java Web Component Developer
Certified Delphi Programmer
SBD Consultants
http://www.sbdconsultants.com

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


> i tried putting the error-page in the web.xml and it seem to go crazy when
> i tried it.
>
> i put:
>
> ....
> <error-page>
>     <error-code>404</error-code>
>     <location>/missing.html</location>
> </error-page>
> ...
>
> when i try to go to a page that doesn't exist in the directory, tomcat
goes
> in a loop and i can't get out of until i stop tomcat.
>
> is there a know problem with using <error-page> with tomcat3.2?
>
> Peter Choe
>
> At 10:28 AM 2/11/2003, you wrote:
> >Howdy,
> >You typically need to set up one web.xml for each web application.
> >
> >Yoav Shapira
> >Millennium ChemInformatics
> >
> >
> > >-----Original Message-----
> > >From: Peter Choe [mailto:[EMAIL PROTECTED]]
> > >Sent: Tuesday, February 11, 2003 10:19 AM
> > >To: Tomcat Users List; Tomcat Users List
> > >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]
>
>
>
> ---------------------------------------------------------------------
> 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