Topic: Example 095 To build a user-defined error page
Environment:
1. JDK 1.6.0.39
2. Eclipse JUNO JavaEE x86
3. Tomcat 7.0.37
Solution:
1. use <%@page errorPage="error.jsp" %>
2. in error.jsp, define <%@page isErrorPage="true" %>
3. in web.xml, define <error-page> tag
Result:
/WEB-INF/img/095.PNG
Merge branch 'master' of https://github.com/javaweb1200/javaweb1200