This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Unable to Catch SocketException" Watch "Unable to Catch SocketException" New topic
Author

Unable to Catch SocketException

Anonymous
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 nitin1977@hotmail.com
thanx
nitin
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to Catch SocketException
 
Similar Threads
To get the details of client while sending a packet if it is closed or open?
Exception Handling
Exception handling problems
Client socket closing.
Socket Exception in servlet ??