JSP error pages
Is there a way to create a custom error page while storing the HTTP error code (without logging the error on an error page that itself has a 200 code)? Can this be done with web.xml or can I do it directly in the JSP?
If I submit an HTTP error code using response.sendError, no other text appears on the page. I can get the text on the page using out.println (), but it can't seem to print the html, just basic text.
0
source to share