This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes Socket Exception in servlet ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Servlets
Bookmark "Socket Exception in servlet ??" Watch "Socket Exception in servlet ??" New topic

Socket Exception in servlet ??

Badal Kotecha
Ranch Hand

Joined: Sep 06, 2000
Posts: 42
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
maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
Please refer to this discussion.
maha anna
Have you checked out Aspose?
subject: Socket Exception in servlet ??
jQuery in Action, 3rd edition