RE: Serialization question...

2002-10-28 Thread Gideon, Thomas
1.230.2236 Tel. 301.230.2248 Fax. [EMAIL PROTECTED] www.B2eMarkets.com > -Original Message- > From: Eddie Bush [mailto:ekbush@;swbell.net] > Sent: Monday, October 28, 2002 12:19 PM > To: Struts Users Mailing List > Subject: Re: Serialization question... > > &

Re: Serialization question...

2002-10-28 Thread Eddie Bush
Thanks for your edification, Mr. Graham ;-) I'd never had call to use that one before. David Graham wrote: You can use the transient keyword in a class to mark un-serializable members so that the rest of the class is serializable. For example, if your class had a variable private Connection

Re: Serialization question...

2002-10-28 Thread David Graham
this: private transient Connection conn; David From: Eddie Bush <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: Serialization question... Date: Mon, 28 Oct 2002 11:18:37 -060

Re: Serialization question...

2002-10-28 Thread Eddie Bush
I don't see anything regarding serialization that talks about a possibility to mark members as transient. Would you happen to have references Thomas? Gideon, Thomas wrote: Can't you also mark your members as transient if you don't want them serialized? So shouldn't a combination of Serializab

Re: Serialization question...

2002-10-28 Thread Eddie Bush
To be honest, I'm not sure. All cases I have needed to use serialization were such that all fields had to be serialized. So ... I can neither confirm nor deny that. It certainly sounds logical though. Gideon, Thomas wrote: Can't you also mark your members as transient if you don't want them

RE: Serialization question...

2002-10-28 Thread Gideon, Thomas
homas Gideon Sr. Software Developer B2eMarkets 301.230.2236 Tel. 301.230.2248 Fax. [EMAIL PROTECTED] www.B2eMarkets.com > -Original Message- > From: Eddie Bush [mailto:ekbush@;swbell.net] > Sent: Monday, October 28, 2002 11:26 AM > To: Struts Users Mailing List > Subje

Re: Serialization question...

2002-10-28 Thread Eddie Bush
Does the form contain any fields which do not implement Serializable? If so that makes the form unable to be serialized. In order for an object to be serializble both that object and *all* fields it contains *must* implement Serializable. It cascades too, so the fields' fields (if they are no

Serialization question...

2002-10-28 Thread Ryan Cornia
In my web application, I have all of my forms declared as - public final class extends org.apache.struts.validator.ValidatorForm implements Serializable { } In my tomcat 4.1.12 logs, however, I keep getting errors - "Cannot serialize session attribute " Do I need to write a serializati