You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Josh <jr...@yahoo.com> on 2001/02/08 15:58:14 UTC
struts-config_1_0.dtd File question
The struts-config_1_0.dtd file does not contain any constraints for describing
the details of a form bean. This information is supposed to be used by the
Digester to create the ActionFormBean classes. Is this functionality available
at this point?
Thanks,
Josh
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
Re: struts-config_1_0.dtd File question
Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Josh wrote:
> The struts-config_1_0.dtd file does not contain any constraints for describing
> the details of a form bean. This information is supposed to be used by the
> Digester to create the ActionFormBean classes. Is this functionality available
> at this point?
>
A form bean that you write (that is, a subclass of ActionForm) need only conform to
the requirements of the JavaBeans Specification -- particularly the requirements
for a no-arguments constructor and the design patterns for property getters and
setters.
The ActionFormBean class is only used internally to Struts -- each instance
represents the data stored in a <form-bean> element in your struts-config.xml
file. Normally, you need not concern yourself with this class.
>
> Thanks,
> Josh
>
Craig