Hi

> I have several classes derived either from ValidatorForm or ActionForm.
> Both
> classes mark my derived class as serializable. I get a compiler warning
> about a missing serialVersionUID.
>

Maybe you are using non-serializable attributes. Check out the
serializable guide in java's docs.

> Why are those classes serializable, because data transfered through a
> network connection? How do I have to handle this warning? Should I just
> define a dummy serialVersionUID?

They are serializable because they must live in a session scope. Tomcat
will put the http sessions in persistent storage.... therefore,... you get
the picture

Hope it helps.

>
> Sebastian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Regards

Marcelo


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to