File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Unable to Catch SocketException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Unable to Catch SocketException" Watch "Unable to Catch SocketException" New topic

Unable to Catch SocketException

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I have made a simple servlet. In this servlet I am accepting a username and password from the client. When the client clicks on his submit button and after the request is sent to the servlet it presses stop button I get a SocketException in the servlet. I am using post method. I have also tried by putting the whole post method into try catch but yet I could not catch this exception.
Help me.. and send your suggesstion at
I agree. Here's the link:
subject: Unable to Catch SocketException
It's not a secret anymore!