Quantcast
Channel: Active questions tagged servlets - Stack Overflow
Viewing all articles
Browse latest Browse all 675

How to handle HTTP 510, 598 and 599 error codes in web.xml

$
0
0

We use weblogic to deploy our application, the requirement is to handle all the server errors, in web.xml and have 500 through 510, 598 and 599. The specification of error codes - 510, 598 and 599 throws the following exception:

Exception:<BEA-101024> Unsupported error status code for error-page in web.xml.

And the code in web.xml is as follows

<error-page><error-code>510</error-code><location>/jsp/main/http_error.jsp</location></error-page>

Is there any other way to handle the 3 error codes(510, 598 and 599) or is it not required to be handled at all. Your suggestions on this is highly appreciated. Thanks.


Viewing all articles
Browse latest Browse all 675

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>