That's not really specific to file size, or even Java in general. The root of this exception stems from the lifecycle of an http request.

When a browser makes a request, the connection is maintained until the server completes the bytes it told the browser it was going to send. If you hit stop on *any* request before it is finished, you may or may not see this exception in the logs.

To summarize, I wouldn't worry too much about this, there's nothing you can do to prevent it, that's just one of the quirks with web servers and clients.



--
James Mitchell
678.910.8017




On Oct 10, 2006, at 1:49 AM, B.Sridhar wrote:

Hi

I am writing a struts appliction to download a file that is on the server.
When the user clicks the download button, its displaying the open,save
cancel window. Everything is working fine for files of small sizes ie. less
than 50 kb..but if the file size is mor and when I click cancel  its
displaying a ClientAbort Exception.

ClientAbortException: java.net.SocketException: Connection reset by peer:
socket write error
Oct 9, 2006 11:08:25 AM org.apache.struts.action

.RequestProcessor processException
WARNING: Unhandled Exception thrown: class
org.apache.catalina.connector.ClientAbortException


Please help me how to avoid this situation.



--
B.Sridhar


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to