I have one value object class wherein I am using FormFile of
Struts for uploading the file.We are using RBActionForm for session management.
1) Do we need to serialize the file FormFile as it is imported from struts?Do we need to subclass it and implement serilizable?
2) Do we need to serialize RBActionForm as its parent class ActionForm is serialized by Struts?
public class RBActionForm extends ActionForm
{
...
....
......
}
public class ProjCostForm extends RBActionForm ;
{
.....
.....
.......
/ /Attrbutes for file uploading
private FormFile file;
int fileSeqNo;
}
abstract public interfaceorg.apache.struts.upload.FormFile extends java.lang.Object
{
}
Thanks,