tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Goss <>
Subject Re: About Servlet-Applet Communication
Date Mon, 09 Oct 2000 17:31:17 GMT
what you want to do is use the output stream from the response as an
object stream like this:
<on the servlet side>
Object myobject = new Object(); os = new
</on the servlet side>
<on the applet side>
ObjectInputStream ois = new ObjectInputStream(conn.getInputStream());
Object myobject =  (Object) ois.readObject();
</on the applet side>
That works for me...
Matt Goss

View raw message