Cool - thanks! Also, I'm trying to use the workflow sample from struts-simple and I'm getting a deprecation warning on RegistryServlet. I looked in the javadocs for 1.1.1 of Digester, but gives no indication of what the new method should be.
Thanks, Matt -----Original Message----- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 12:07 PM To: Struts Developers List; [EMAIL PROTECTED] Subject: RE: Exception creating bean of DynaActionForm On Thu, 17 Jan 2002, Matt Raible wrote: > Date: Thu, 17 Jan 2002 11:49:20 -0700 > From: Matt Raible <[EMAIL PROTECTED]> > Reply-To: Struts Developers List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: Struts Developers List <[EMAIL PROTECTED]> > Subject: RE: Exception creating bean of DynaActionForm > > 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? > It's supposed to allow you to declare arrays that way -- it looks like I forgot to put in the special handling that is required. Will be patched today. > Thanks, > > Matt > Craig > -----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]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>