|
Hi!
I've been trying to figure out how it could be
better for writting a lot of ouput in HTML in the response of my servlet, I
found that I can use the bufferString to take the large outputs and then send it
in the response, I've done that, but when I close the browser or the window and
error displays while the servletrunner is running. Could you tell me why happens
that? or should I just print:
ou.println(sb.toString())?
I'm doing this:
And the error is this:
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:90) at sun.servlet.http.HttpInputStream.fill(HttpInputStream.java:346) at sun.servlet.http.HttpInputStream.readLine(Compiled Code) at sun.servlet.http.HttpRequestLine.readLine(Compiled Code) at sun.servlet.http.HttpRequestLine.parse(HttpRequestLine.java:148) at sun.servlet.http.HttpRequest.next(Compiled Code) at sun.servlet.http.HttpServerHandler.handleConnection(Compiled Code) at sun.servlet.http.HttpServerHandler.run(Compiled Code) at java.lang.Thread.run(Thread.java:479) Thanks in advance!!!!
Cynthia Mu�oz
Trujillo-Peru |
- error when using StringBuffer in response Cynthia Munoz
- error when using StringBuffer in response Cynthia Munoz
