husted 2002/10/20 10:06:57
Modified: src/share/org/apache/struts/action ActionForm.java
Log:
Add JavaDoc regarding serializable and JavaBeans.
Revision Changes Path
1.13 +9 -4
jakarta-struts/src/share/org/apache/struts/action/ActionForm.java
Index: ActionForm.java
===================================================================
RCS file:
/home/cvs/jakarta-struts/src/share/org/apache/struts/action/ActionForm.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ActionForm.java 9 Jul 2002 23:57:05 -0000 1.12
+++ ActionForm.java 20 Oct 2002 17:06:57 -0000 1.13
@@ -93,6 +93,11 @@
* protected methods for which they wish to provide modified functionality.
* </p>
*
+ * <p>Since ActionForms are JavaBean, subclasses should also implement
+ * <code>Serializable</code>, as required by the JavaBean specification.
+ * Some containers require that an object meet all JavaBean requirements
+ * in order to use the introspection API upon which ActionForms rely.</p>
+ *
* @author Craig R. McClanahan
* @author Ted Husted
* @version $Revision$ $Date$
--
To unsubscribe, e-mail: <mailto:struts-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@;jakarta.apache.org>