tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: web page errors
Date Tue, 11 Feb 2003 15:04:10 GMT
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message