You
probably want to change that to read:
...
<error-page>
<error-code>404</error-code>
<location>/bb/se/batborsen_error.html</location>
</error-page>
<error-page>
<exception-type>javax.servlet.jsp.JspException</exception-type>
<location>/bb/se/batborsen_error.html</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/bb/se/batborsen_error.html</location>
</error-page>
...
An
<error-page> directive should hold *either* an <error-code/> or an
<exception-type/> directive.
Check
the Servlet 2.2 spec at page 67, which goes:
<snip>
The
error-page element contains mapping between an error code or exception type to
the path of a resource in the web application.
<!ELEMENT error-page ((error-code | exception-type),
location>
</snip>
WR
|
- Errorpage Johan Fredriksson
- Re: Errorpage kkvarfordt
- Re: Errorpage Johan Fredriksson
- Magnus Rydin