I have the following code in my servlet:
( Read more...Collapse )First time i call servlet, decoder.readObject() returns null. Next calls successfully return an array of CellBeans. When i tried to uncomment the lines with reader, it returned me xml for my array, so I'm sure the problem is in XMLDecoder. What the hell is going on with it?