Hello All, 1) I have a class which implements java.io.Serializable 2) I open the URL connection from one servlet(A) to another servlet(B) and write the above class object(Obj) to the servlet (B) through as "ObjectOutputStream out1 = new ObjectOutputStream(urlconnection.getOutputStream());
3) I open the ObjectInputStream in2 = new ObjectInputStream(request.getInputStream()); and read the class object (Obj) i am getting the "java.io.EOFException,java.io.StreamCorruptedException: invalid stream header" from teh servlet at location B, The serializable class is at both the ends. The requirement is i want to send the class object to one end, it gets filled and comes back, Any suggestions or any info is heighly appreciated Thanks for your time in advance Nandish ___________________________________________________________________________ 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