Re: Applet fails to load Serialized Object
Posted By:
Tim_Rohaly
Posted On:
Friday, April 20, 2001 08:32 PM
You don't say what the error is, so I'm going to guess.
In order for an instance of TimeSheetScreenData
to be serializable, all non-transient objects reachable from
that instance must also be serializable. In particular, in
your above example, com.clipper.model.File must
be serializable (including all objects reachable from it),
and every object stored in your Vector must also
be serializable. If any one of those objects is not serializable,
the serialization will fail. This has nothing to do with the
fact that an Applet or a Servlet is involved.