struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Mitchell" <jmitc...@telocity.com>
Subject RE: REPOST: DynaActionForm submit error
Date Wed, 19 Jun 2002 16:07:01 GMT
Please provide the action mappings in your struts-config for:
1. how you are getting to the jsp
2. the action submitted to

We can start there I think.


James Mitchell
Software Engineer\Struts Evangelist
Struts-Atlanta, the "Open Minded Developer Network"
http://struts-atlanta.open-tools.org

> -----Original Message-----
> From: Toni Charlot [mailto:toni@fdplus.com]
> Sent: Wednesday, June 19, 2002 11:32 AM
> To: Struts Users Mailing List
> Subject: REPOST: DynaActionForm submit error
>
>
> Greetings gentlemen/women/persons,
>
> Sorry for the repost, just giving it a second shot.
>
> I've been having some difficultied using the new dyna action form.  I was
> able to pre-pupulate the form and display it but when I try to re-submit I
> get the exception below.    I'm using  Tomcat 4.0.3beta.  The
> form is in the
> request scope although I tried putting it in session scope as
> well.  I tried
> subclassing DynaActionForm and implement serializable.
>
> I just can't seem to get what's causing the IllegalArgumentException to be
> thrown.
>
> Thank you....
>
> <form-bean name="classifiedForm" dynamic="true"
>                     type="org.apache.struts.action.DynaActionForm" >
>         <form-property name="attribute"
> type="com.fdplus.phonebook.Classified"/>
>         <form-property name="attributeType" type="java.lang.String"
> initial="com.fdplus.phonebook.Classified"/>
>         <form-property name="task" type="java.lang.String"/>
> </form-bean>
>
> <exception>
> java.lang.IllegalArgumentException: No bean specified
>            at
> org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(P
> ropertyUti
> ls.java:777)
>            at
> org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:619)
>            at
> org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:504)
>            at
> org.apache.struts.util.RequestUtils.populate(RequestUtils.java:973)
>            at
> org.apache.struts.action.RequestProcessor.processPopulate(RequestP
> rocessor.j
> ava:795)
>            at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor
> .java:244)
>            at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1162)
>            at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:472)
>            at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>           .....
> </exception>
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message