serialization of a FormFile object

2004-05-10 Thread Octavia Yung
Hi All, I was wondering if is it be possible to serialize a FormFile object within an ActionForm (i.e. the FormFile object is being put on the Session)? If so, how would one go about doing this? Thanks much for your help! Octavia

Re: serialization of a FormFile object

2004-05-10 Thread Axel Stahlhut
t; Sent: Monday, May 10, 2004 2:04 PM Subject: Re: serialization of a FormFile object Hi. You could implement a FormFileWrapper, geting a FormFile in Constructor. Then you may copy all fields except InputStream (which makes in fact no sense, because it is definetly lost after e.g. restart of A

Re: serialization of a FormFile object

2004-05-10 Thread Octavia Yung
oblem? Thanks again! Octavia - Original Message - From: "Axel Stahlhut" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, May 10, 2004 2:04 PM Subject: Re: serialization of a FormFile object > Hi. > > You could

Re: serialization of a FormFile object

2004-05-10 Thread Axel Stahlhut
Hi. You could implement a FormFileWrapper, geting a FormFile in Constructor. Then you may copy all fields except InputStream (which makes in fact no sense, because it is definetly lost after e.g. restart of App) and let the wrapper implement Serializable. The wrapper can now be stored into you

serialization of a FormFile object

2004-05-10 Thread Octavia Yung
Hi All, I was wondering if is it be possible to serialize a FormFile object within an ActionForm (i.e. the FormFile object is being put on the Session)? If so, how would one go about doing this? Thanks much for your help! Octavia