<% @ Page Language = "Java" contenttype = "text/html; charset = gb18030"
Pageencoding = "gb18030" errorpage = "errorpage. jsp" %>
<JSP: usebean id = "usermanager" class = "com. yaoqiang. Manager. usermanager"/>
<% @ Include file = "secret. jsp" %>
<%
Int I = 5/0;
%>
<! Doctype HTML public "-// W3C // dtd html 4.01 transitional // en" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb18030">
<Title> record page </title>
</Head>
<Body>
<% // = Usermanager. getmessage () %> <br>
<A href = "display. jsp"> display my personal forms </a>
</Body>
</Html>
There is an error in this page, and the error page has been directed to handle_errors.jsp, And that page is correct.
However, each time you open this page for the first time, an HTTP 500-internal server error is displayed, rather than a jump to the error page to handle it. It's strange, but you can make some modifications to this page, then you can jump to the page.
I found that if I checked the IE and Internet advanced settings and checked each http-friendly error, the page would be redirected for the first time.
The specific cause is still under study ..............