What is best way to do this?

On servlet side, I create an ObjectOutputStream and put the XML string on it
(Oracle query generates XML through OracleXMLQuery class).

On applet side, I create an ObjectInputStream, readObject with casting to
String. This works fine until the XML string reaches a certain size, then
the applet breaks, throwing a java.io.EOFException.

Why does it break? If I use PrintWriter and stream the data straight to my
browser, it works fine, so no problem on the Oracle query side.

What is better way to stream XML between applet and servlet?

Thanks,
Dave

___________________________________________________________________________
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