This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, When I use jsdk2.1 httpserver by using the command startserver to start my servlet server, if I click the refresh button on the browse frequently and quickly (that will cause my servlet doget method run again and again very quickly), there's following error.But my servlet can still function well, I mean if I click button or hyperlincks in the html pages to run another funtion of my servlet, it could also respond me by generating other html pages well. But why there's the following errors? If there a way to get rid of it from the server side command window? Thanx! ------error on my computer com.sun.web.core.DefaultServlet: init HANDLER THREAD PROBLEM: java.net.SocketException: Connection reset by peer: JVM_ recv in socket input stream read java.net.SocketException: Connection reset by peer: JVM_recv in socket input str eam read at java.net.SocketInputStream.socketRead(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:86) at java.net.SocketInputStream.read(SocketInputStream.java:102) at com.sun.web.server.ServletInputStreamImpl.read(ServletInputStreamImpl .java:60) at javax.servlet.ServletInputStream.readLine(ServletInputStream.java:100 ) at com.sun.web.server.ServletInputStreamImpl.readLine(ServletInputStream Impl.java:94) at com.sun.web.server.ServerRequest.readNextRequest(ServerRequest.java:5 6) at com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:68)
That is not a serious error, it has nothing to do with your code, don't worry about it. Why are you using JSDK?? it is years out of date with the current servlet/JSP APIs and is no longer supported by Sun as far as I know. Bill ------------------ author of: