wood burning stoves 2.0*
The moose likes Struts and the fly likes SERIALIZATION IN STRUTS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "SERIALIZATION IN STRUTS" Watch "SERIALIZATION IN STRUTS" New topic
Author

SERIALIZATION IN STRUTS

thomas davis
Ranch Hand

Joined: Feb 01, 2003
Posts: 207
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
{

}




 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SERIALIZATION IN STRUTS
 
Similar Threads
Session Management - Serialization
HBM mapping Problem
Where do i place the .class files?
Please Help
Misery with h:selectOneMenu. PLEASE HELP