Thanks, Axel. So would the FormFileWrapper just be another class which houses the Struts FormFile class? What fields should I be copying...I'm confused by your point. 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]> 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 App) and let > the wrapper implement Serializable. The wrapper can now be stored into > your Session or Session-scoped FormBean. > > Regards Axel > > Octavia Yung wrote: > > >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 > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]