Hello Gurus,
I am posting this again with the hope that someone out there will be able to
help me out.


I was able to send the data from the servlet to the applet(the initial data
from the database) using the servlet-applet communication over http.

Now when I am sending the data back to the servlet from the applet,I am
getting this exception in the servlet.


java.io.InterruptedIOException: Read timed out
        at java.net.SocketInputStream.socketRead(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java,
.................................

Here is my code snippet in the servlet.

ObjectInputStream inputFromApplet = new ObjectInputStream(new
BufferedInputStream(req.getInputStream()));

Hashtable mainDataHT = (Hashtable) inputFromApplet.readObject();

I latter tried with a simple string but that also is not being sent.

inputFromApplet.close();

What is going wrong here? I would appreciate if anyone can shed some light
on this?

Thanks
Srinivas




_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to