i have created a jsp contains
<%
int i=10;
if(i==10)
throw new ArithmeticException("ItsMyGenExcepetion");
%>
i have made entry in web.xml
java.lang.ArithmeticException/errordisplay.jsp
i have my errordisply.jsp contains
<%@ page isErrorPage="true" %>
in body
The page contain error <%= exception %>
but its not showing the error page....
are you not redirect to the error page or in the error page the message is not displayed?
以上就是J2EE:error in displaying ERROR page的详细内容,更多请关注web前端其它相关文章!