Senin, 26 Juli 2021

How to define Error page in Java Web Application - Servlet JSP Example

There are two ways to define the Error page in Java web application written using Servlet and JSP. The first way is page wise error page which is defined on each jsp page and if there is any unhandled exception thrown from that page, the corresponding error page will be displayed. The second approach is an application-wide general or default error page which is shown if any Exception is thrown from any Servlet or JSP and there is no page-specific error page defined.

Lorem ipsum is simply dummy text of the printing and typesetting industry.

Comments


EmoticonEmoticon