I'm thinking this might've had to do with the java.lang.String[] - cause it works when I simply have "action" defined as a property. Is it possible to declare arrays for this?
Thanks, Matt -----Original Message----- From: Matt Raible [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 10:30 AM To: Struts Developers List Subject: Exception creating bean of DynaActionForm First of all - thanks for adding this "feature" Craig. I am now trying to use it in my application. I followed the syntax I found in last night's struts-example struts-config.xml - and copied all the jars from it. So I have as follows: <form-bean name="courseForm" type="org.apache.struts.action.DynaActionForm"> <form-property name="action" type="java.lang.String"/> <form-property name="courseId" type="java.lang.int"/> <form-property name="courseName" type="java.lang.String"/> <form-property name="description" type="java.lang.String"/> <form-property name="topics" type="java.lang.String[]"/> <form-property name="creator" type="java.lang.String"/> </form-bean> In my JSP page I have: <html:form action="/editCourse"> <html:submit property="action"/> </html:form> But I'm getting this exception: javax.servlet.ServletException: javax.servlet.ServletException: Exception creating bean of class org.apache.struts.action.DynaActionForm: {1} at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImp l.java:457) at org.apache.jsp.courseList$jsp._jspService(courseList$jsp.java:180) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.ja va:202) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>