Hi all.
I've been writting applications with Struts 1.1 + Tomcat 5.5.9 + Eclipse for
a year. Until now, I've been using ActionForm. Now I want to move to
DynaActionForm. ?Is there any problem in using DynaActionForm and ActionForm
in the same application (in the same struts-config.xml file)?
What I did was to replace a ActionForm definition in my
struts-config.xml
file by a DynaActionForm definition, but I got this error:
"
GRAVE: Parse Error at line 12 column -1: Element "form-bean" does not allow
"form-property" here.
org.xml.sax.SAXParseException: Element "form-bean" does not allow
"form-property" here.
at org.apache.crimson.parser.Parser2.error(Parser2.java:3160)
...
"
That's my ActionForm definition in struts-config.xlm:
<form-beans>
<form-bean name="CobrosEmpresasGridForm"
type="org.apache.struts.action.DynaActionForm">
<form-property name="msgerror" type="java.lang.String"/>
</form-bean>
<form-bean name="LoginForm"
type="com.sidiem.aplicaciones.seguridad.actionform.LoginForm"/>
...
</form-beans>
I would apreciate your help.
Thanks in advance.
Miquel Angel Segui
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]