Thursday, March 27, 2003 06:48 AM
If you want use Object(input/output)Stream you have to use it on both sides. You can't write to stream via PrintStream and read via ObjectInputStream.
ObjectOutputStream is writing some important informations at begining to stream. This informations are required by ObjectInputStream.