Thanks. Can you explain the idea behind serialVersionUID (or point to a link)?
It seems (under ideal circumstances and not what I was conerned with previously) that if the classes are legitimately out of sync and I don't set it, I will get an exception saying that serialVersionUID is mismatched. If I do set it, I will get an invalid stram exception or something like that. I don't particularly care what exception I get. Thanks! Dola --- Yuval Perlov <[EMAIL PROTECTED]> wrote: > It is also affected by the compiler version. > > It is most advisable to add serialVersionUID > > Yuval Perlov > www.r-u-on.com > > On May 17, 2008, at 7:16 AM, Dola Woolfe wrote: > > Hi, > > I get > > java.io.InvalidClassException > > when I send a serialized class from an application > launched by Eclipse to a JSP page, compiled by the > server. > > I thought that serialVersionUID was strictly a > function of members, signatures, etc - but that > doesn't appear to be the case. > > A workaround is to define serialVersionUID > explicitly, > but I would like to understand what's going on. > > Many thanks in advance! > > Dola > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: > users@tomcat.apache.org > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: > users@tomcat.apache.org > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]