Hello I use object serialization for applet-servlet communication using http just like SUN sample at http://developer.java.sun.com/developer/technicalArticles/RMI/rmi/ . It works fine with IE an netscape VM's, It works with sun JRE 1.1.x , 1.2.x in java application but not work with new 1.3 beta JRE (in application or in applet with plugin). I've got an "java.io.StreamCorruptedException: Caught EOFException while reading the stream header" when building the object input stream. Someone can tell me why ?? Someone as experienced http communication using object serialization succesfully with JRE 1.3 at client side?? Someone can give me a samples working with JRE 1.3 at client side?? Thanks a lot I've notice a difference on the URLConnection InputStream on the client side perhaps could help 1.1, 1.2 => java.io.BufferedInputStream@1effa8 1.3 => ssun.net.www.MeteredStream@19681b Here is my client code Connection= url.openConnection(); Connection.setAllowUserInteraction(true); Connection.setUseCaches(false); Connection.setRequestProperty("Content-Type","java-internal/" +"Myclass"); Connection.setDoInput(true); Connection.setDoOutput(true); OutputStream os =Connection.getOutputStream(); ObjectOutputStream out= new ObjectOutputStream(os); out.writeObject(Request); out.flush(); out.close(); ObjectInputStream in; InputStream is=Connection.getInputStream(); try { in = new ObjectInputStream(is); } catch(IOException e) { System.out.println("exception while building ObjectInputStream"+e); throw(e); } Jean-Pierre ROMEYER, Hardis tel: (33) (0)4 76 70 80 50 Cityparc - 34 rue de la tuilerie fax: (33) (0)4 76 21 49 49 38170 Seyssinet-Pariset (France) [EMAIL PROTECTED] http://www.hardis.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
