The error status is as follows:
Exception Processing errorpage [error code = 404, location =/404.jsp] <br/> clientabortexception: java.net. socketexception: Connection reset by peer: Socket write error <br/> at Org. apache. catalina. connector. outputbuffer. doflush (outputbuffer. java: 327) <br/> at Org. apache. catalina. connector. outputbuffer. flush (outputbuffer. java: 293) <br/> at Org. apache. catalina. connector. response. flushbuffer (response. java: 544) <br/> at Org. apache. catalina. core. standardhostvalve. status (standardhostvalve. java: 286) <br/> at Org. apache. catalina. core. standardhostvalve. invoke (standardhostvalve. java: 136) <br/> at Org. apache. catalina. valves. errorreportvalve. invoke (errorreportvalve. java: 105) <br/> at Org. apache. catalina. core. standardenginevalve. invoke (standardenginevalve. java: 107) <br/> at Org. apache. catalina. connector. coyoteadapter. service (coyoteadapter. java: 148) <br/> at Org. apache. coyote. http11.http11processor. process (http11processor. java: 869) <br/> at Org. apache. coyote. http11.http11baseprotocol $ http11connectionhandler. processconnection (http11baseprotocol. java: 667) <br/> at org.apache.tomcat.util.net. pooltcpendpoint. processsocket (pooltcpendpoint. java: 527) <br/> at org.apache.tomcat.util.net. leaderfollowerworkerthread. runit (leaderfollowerworkerthread. java: 80) <br/> at Org. apache. tomcat. util. threads. threadpool $ controlrunnable. run (threadpool. java: 684) <br/> at java. lang. thread. run (thread. (Java: 595) <br/> caused by: java.net. socketexception: Connection reset by peer: Socket write error <br/> at java.net. socketoutputstream. socketwrite0 (native method) <br/> at java.net. socketoutputstream. socketwrite (socketoutputstream. java: 92) <br/> at java.net. socketoutputstream. write (socketoutputstream. java: 136) <br/> at Org. apache. coyote. http11.internaloutputbuffer. realwritebytes (internaloutputbuffer. java: 746) <br/> at Org. apache. tomcat. util. buf. bytechunk. flushbuffer (bytechunk. java: 433) <br/> at Org. apache. coyote. http11.internaloutputbuffer. flush (internaloutputbuffer. java: 304) <br/> at Org. apache. coyote. http11.http11processor. action (http11processor. java: 991) <br/> at Org. apache. coyote. response. action (response. java: 182) <br/> at Org. apache. catalina. connector. outputbuffer. doflush (outputbuffer. java: 322) <br/> 13 more
Generally
<Error-page>
<Error-code> 404 </error-code>
<Location>/error. jsp </location>
</Error-page>
The system automatically redirects to the page, causing repeated exceptions.
Solution:
Modify error. JSP code
Error. jsp use response. sendredirect ("/index.html ");
The main problem is that IE7 does not properly parse the jump information given by the application server. We need to write our own code to redirect the server to the new page (JSP)
The sample code is as follows:
<% @ Page Language = "Java" contenttype = "text/html; charset = GBK" pageencoding = "GBK" %> <br/> <% @ page import = "org. apache. commons. logging. * "%> <br/> <HTML> <br/> <body> <br/> <% <br/> log = logfactory. getlog ("error. JSP "); <br/> log. error ("error. JSP call !!!!!!!!!!!!!!!!!!!!!!!!!!!!! --------------------------- "); <Br/> response. sendredirect ("/index.html "); <br/>%> <br/> </body> <br/> </ptml>
Run again to solve the problem