You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dionisio Ruiz de Zarate <di...@tinieblas.com> on 2002/12/19 14:25:05 UTC

erro page a get the error

in one jsp page (error.jsp), the error page, i have:

<%@ page contentType="text/html; charset=iso-8859-1" language="java"
isErrorPage="true" %>
<html><body>
<%=exception.getMessage() %>
</body></html>

and in the web.xml i have:
<error-page>
<error-code>500</error-code>
<location>/error.jsp</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/error.jsp</location>
</error-page>

but it doesn't run well, show me the tomcat standar error page, and not
this, if the error code is 500 but if the error code is 404 show me one page
in white.

can anybody help me to oad my error default pages?
thanks



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>