Tx for the
Servlet reference...
I haven't done many of those in my life
No idea on how to simplify these
<!-- What follows is the handling of the HTTP-errors -->
<!-- Curently defined errors are -->
<!-- 400 : Bad Request -->
<!-- 401 : Unauthorized -->
<!-- 402 : Payment Required -->
<!-- 403 : Forbidden -->
<!-- 404 : Not Found -->
<!-- 405 : Method Not Allowed -->
<!-- 406 : Not Acceptable -->
<!-- 407 : Proxy Authentication Required -->
<!-- 408 : Request Timeout -->
<!-- 409 : Conflict -->
<!-- 410 : Gone -->
<!-- 411 : Length Required -->
<!-- 412 : Precondition Failed -->
<!-- 413 : Request Entity Too Large -->
<!-- 414 : Request-URI Too Long -->
<!-- 415 : Unsupported Media Type -->
<!-- 416 : Requested Range Not Satisfiable -->
<!-- 417 : Expectation Failed -->
<error-page>
<error-code>401</error-code>
<location>error/Unauthorized.jsp</location>
</error-page>
<error-page>
<error-code>403</error-code>
<location>error/Forbidden.jsp</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>error/NotFound.jsp</location>
</error-page>
...
into something where we don't have to have ONE entry per Exception type but where all 400's are dealed with the 4xx.jsp while only the 404 is dealed with a special
JSP, say for instance.
I have now everything fine with the
How can I get the Message back in the response ?
Tx,
Thomas,
[ March 20, 2003: Message edited by: Thomas SMETS ]