sending customized error back using the HttpServletResponse object
843841Oct 14 2003 — edited Oct 14 2003hi,
I want to send customized error codes using the HttpServletResponse.sendError(int StatusCode,String message).
As per the documentation I should get the customized status code on the browser response. but it am getting only the exception that is thrown back and not the customized error that is sent using the sendError method.
is there a way out to show the customized status message to the client.
it would be very helpful in making the life of the end user simpler.