No exception when writing closed connection response
I have a simple JBoss 5.1 servlet. There is no exception when writing the answer if the connection is closed. Connection closed by read timeout, outside.
JBoss receives FIN, ACK, ACK and after a few seconds sends my response (PSH, ACK) and receives RST.
How to determine in the servlet that the connection is closed and / or the response was not successful?
0
source to share