This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Socket Exception in servlet ??

 
Badal Kotecha
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
maha anna
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Badal,
Please refer to this discussion.
http://www.javaranch.com/ubb/Forum7/HTML/000634.html
regds
maha anna
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic