I serialized a passel of LabelValueBeans into a database only to find out when I upgraded to Struts 1.2 from 1.1 that LabelValueBean was no longer compatible.

a) I was being lazy when I stuck the LabelValueBeans in the database, but it seemed a good idea at the time. I was saving off the the contents of a selection box for later recovery. Was this as bone-headed as it now appears?

b) I am able to make the code work by supplying an alternate LabelValueBean with a predefined serialVersionUID and a readObject method. Is there a better way that will allow me to retain Struts native LabelValueBean?

Thanks,
Steve


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



Reply via email to