Re: serialization of a FormFile object

2004-05-10 Thread Axel Stahlhut
Is there any sample code available? Besides the method mentioned above, are there other alternatives to approach the problem? Thanks again! Octavia - Original Message - From: "Axel Stahlhut" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]&g

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