Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Nightly Build
-
None
-
Operating System: other
Platform: All
-
31850
Description
You can't serialise ActionForms becuase ActionServletWrapper isn't
serializable which is strange when ActionServlet is serializable.
I find this when trying using ActionForms in parallel with Flash Remoting.
Index: ActionServletWrapper.java
===================================================================
RCS file: /home/cvspublic/jakarta-
struts/src/share/org/apache/struts/action/ActionServletWrapper.java,v
retrieving revision 1.13
diff -u -r1.13 ActionServletWrapper.java
— ActionServletWrapper.java 14 Mar 2004 06:23:42 -0000 1.13
+++ ActionServletWrapper.java 22 Oct 2004 12:56:53 -0000
@@ -21,6 +21,8 @@
package org.apache.struts.action;
+import java.io.Serializable;
+
import org.apache.struts.upload.MultipartRequestHandler;
@@ -34,7 +36,7 @@
- @version $Revision: 1.13 $ $Date: 2004/03/14 06:23:42 $
- @since Struts 1.0.1
*/
-public class ActionServletWrapper {
+public class ActionServletWrapper implements Serializable {
/**
- <p>The servlet instance to which we are attached.</p>