时间: 2021-07-31 作者:daque
以次页面将爆发一个不同: <%@ page errorpage="errorpge.jsp" %> <html> <head> <title>jsp 1.0 error page demo</title> </head> <body> <h1>jsp 1.0 error page demo</h1> <% string s = null; s.getbytes(); //这将给出 nullpointexception不同 %> </body> </html> 在堕落后以次页面被挪用: <html> <body bgcolor="black" text="#ffffff"> <%--@ page iserrorpage="true" --%> <h1> attenion the fellowing error occurs</h1><br> <pre><%= exception.getmessage() %></pre> </body> </html>