Hi, I have web.xml like this:
<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
<exception-type>java.lang.Throwable</exception-type>
<location>/error.html</location>
</error-page>
</web-app>
However, when a servlet throws an exception, it always return jboss internal default error page, not the error page I defined in my web.xml
Any idea?
Never mind.