This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Servlets and the fly likes Servlet request object input stream time out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet request object input stream time out" Watch "Servlet request object input stream time out" New topic
Author

Servlet request object input stream time out

sai pabb
Greenhorn

Joined: Sep 01, 2010
Posts: 9
Servlet is getting a input stream from an applet. at the while(line is.read(b) >0) I'm getting exception as timeout.
See below for servlet code.

See below for the applet code which sends the byteArray.


What is the fix to remove the timeout?
 
GeeCON Prague 2014
 
subject: Servlet request object input stream time out