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:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to