Hi All,
Is it possible to handle multiple error codes using only one entry in the web.xml??
I mean for example if I have to handle 404 error code, I will make the following entry in web.xml :-
<error-page>
<error-code>404</error-code>
<location>/pageNotfound</location>
</error-page>
But now I want to handle all the error codes of 500 range like 500, 501, 502.. etc....
Is it possible to write a generalize error code thing and handle all the error codes frrom say 500 - 600, and redirect it to same error page?
Thanks in advance for giving some pointer on this.
Thanks
Priyanka