Look at the <error-page> element in web.xml; the DTD is in the JSDK spec,
and at
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
-- Bill K.
> -----Original Message-----
> From: Andrew Chou [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 21, 2001 4:06 PM
> To: [EMAIL PROTECTED]
> Subject: RE: modify html error page in Tomcat
>
>
> Martin,
>
> Thanks for the help. Howerver, I have only Tomcat 3.2.1
> running without Apache
> web server. Is there any other place I should look into? I
> did not find any
> helpful info in the User's Guide. I was hoping there is a
> place I can simply
> tell Tomcat where my HTML error file is.
>
> Thanks!
>
> > I don't exactly (depends on your exact scenerio) , but it
> is possible to
> > redirect apache error pages to servlets. (see httpd.conf)
> >
> > Mvgr,
> > Martin
> >
> > > -----Original Message-----
> > > From: Andrew Chou [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, May 22, 2001 12:45 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: modify html error page in Tomcat
> > >
> > >
> > > Hi,
> > >
> > > This might be a newbie question but is it possible for
> tomcat to return a
> > > customized html error page such as 404 File Not Found? I'd like
> > > to do that just
> > > like in IIS where you can specify customized error page for each
> > > return code.
> > >
> > > Thanks for your help!
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great prices
> http://auctions.yahoo.com/
>