Hi, I have made a simple client server application wherein I am accepting a username and password and in servlet I am checking it with the database. Problem : My client when passes user name and password from a html client to the servlet and immediately presses stop button before getting the complete response from the server, At the server side while executing the clients request it throws Socket Exception. Although I have placed my whole code of doPost method in try catch block and handled the exception then why it is not handling that exception and why the Socket Exception is getting invoked ?? Please Write in detail Thanking u in advance Badal...