struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ALAMI Ahmed" <aal...@netfective.com>
Subject RE: having a problem updating my form - starnge error with beanUtils
Date Mon, 17 Mar 2003 17:10:31 GMT
make sure you specified a "name" attribute for your "action"  element in struts-config

       <action path="/myAction" name="myActionForm" type="MyActionAction" scope="request"
input="/myAction.jsp">
            <forward name="success" ....>

        </action>


-----Message d'origine-----
De : teknokrat [mailto:teknokrat@yahoo.com]
Envoyé : Monday, March 17, 2003 5:11 PM
À : struts-user@jakarta.apache.org
Objet : having a problem updating my form - starnge error with beanUtils


I have a jsp page that is being populated OK by the form bean. However - 
when i make changes to the fields and submit it to my action i get the 
following error

java.lang.IllegalArgumentException: No bean specified
	at 
org.apache.commons.beanutils.PropertyUtils.getPropertyDescriptor(PropertyUtils.java:837)
	at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:849)
	at org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:729)
	at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1097)
	at 
org.apache.struts.action.RequestProcessor.processPopulate(RequestProcessor.java:798)
	at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:254)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1422)
	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:523)

Does anyone know what this means and what is going on here?

thanks

p.s. the form is a simple <html:form action="myAction.do" > etc </html:form>



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




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


Mime
View raw message