Thanks for the clarification. My thought was that struts w/should be able to accommodate pre-existing beans on the system for ease of generating jsp's-- without generating new beans that contain the same object definition and just extend from a different class. -Jake -----Original Message----- From: Craig R. McClanahan [mailto:craigmcc@apache.org] Sent: Monday, July 01, 2002 12:06 PM To: Struts Users Mailing List Subject: Re: Struts 1.1b1 HTML:Form It is correct to say that all of the automatic Struts machinery for form beans only works if your bean is a subclass of ActionForm. (In Struts 1.1, that includes the DynaActionForm class as well.) Craig On Mon, 1 Jul 2002, Jacob Hookom wrote: > Date: Mon, 1 Jul 2002 01:23:40 -0500 > From: Jacob Hookom > Reply-To: Struts Users Mailing List > To: 'Struts Users Mailing List' > Subject: Struts 1.1b1 HTML:Form > > With struts 1.1b, the only way it will instantiate a bean for a form > correctly is if the bean actually extends ActionForm? The jsp works > fine on my JRun server running the old release of struts. > > Im seeing that only my forms with specialized ActionForms seem to work > correctly with 1.1b; and its only when I use the tag, > otherwise using
works. > > [see below for exception thrown from ] > > If forms now require being extended from actionform, do I have to > basically duplicate bean logic specifically for a form on a page? > > Regards, > Jake Hookom > University of Wisconsin, Eau Claire > > Exception Thrown: > javax.servlet.jsp.JspException: Exception creating bean of class > com.dds.bean.Workspace: {1} > at > org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:610) > at > org.apache.jsp.workspace_0002dinsert$jsp._jspService(workspace_0002dinse > rt$jsp.java:302) > 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(JspServle > t.java:201) > at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381) > at > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica > tionFilterChain.java:247) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt > erChain.java:193) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv > e.java:243) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja > va:566) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > 72) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv > e.java:190) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja > va:566) > at > org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja > va:246) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja > va:564) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > 72) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:234 > 7) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java > :180) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja > va:566) > at > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa > lve.java:170) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja > va:564) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java > :170) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja > va:564) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468 > ) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja > va:564) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > 72) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve. > java:174) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja > va:566) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4 > 72) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j > ava:1027) > at > org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java: > 1125) > at java.lang.Thread.run(Thread.java:536) > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.371 / Virus Database: 206 - Release Date: 6/13/2002 > > -- To unsubscribe, e-mail: For additional commands, e-mail: --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.371 / Virus Database: 206 - Release Date: 6/13/2002 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.371 / Virus Database: 206 - Release Date: 6/13/2002 -- To unsubscribe, e-mail: For additional commands, e-mail: