I am trying to read in an array from ObjectInputStream in Java. I can find no documentation on how to do this. I assume that it is readObject(), but this doesn't seem to work.
out.write(Object)
out.write(Object)
out.write(boolean[])
... in servlet ...
Object one = in.readObject();
Object two = in.readObject();
boolean[] thr = (boolean[])in.readObject();
Is this correct or am I doing it wrong? If it's correct then any ideas on why it might not like this?