Hi, I have changed the server from Tomcat 5.0.28 to Tomcat 4.1.31, and I come back to struts-bean and struts-logic tags, and now the app works well. Its very strange. do Nobody Know the diference Tomcat 5.0 and 4.1 fills the ActionForms, I think here is the difference.
Thanks ________________________ Rodolfo _______________________ "Rodolfo García Esteban/CYII" <[EMAIL PROTECTED]> 19/04/2005 09:26 Por favor, responda a "Struts Users Mailing List" Para: "Struts Users Mailing List" <user@struts.apache.org> cc: (cco: Rodolfo García Esteban/CYII) Asunto: Re: java.lang.IllegalArgumentException calling an Action The problem must be other, because I test submit with numbers, alphanumeric, empty, and the result is ever the same. I will debug struts to obtain more information, thanks Antonio. ________________________ Rodolfo <[EMAIL PROTECTED]> 19/04/2005 08:36 Por favor, responda a "Struts Users Mailing List" Para: <user@struts.apache.org> cc: (cco: Rodolfo García Esteban/CYII) Asunto: Re: java.lang.IllegalArgumentException calling an Action Probably the problem is in your ActionForm. It seems that a submitted form field does not match with the corresponding ActionForm property (e.g. you submit a alphanumeric string while in the ActionForm the property is "int"). Hope it helps. Ciao Antonio Petrelli Rodolfo García Esteban/CYII wrote: >Hi all, > >I'm developing with struts 1.2.4, I have an action with form as beans, not >dynamic, field in which I introduce data are String, and I have another >field without values. When I do commit, then programs doesn't touch my >action I obtain befere the next error: > >javax.servlet.ServletException: BeanUtils.populate > org.apache.struts.util.RequestUtils.populate(RequestUtils.java:497) > >org.apache.struts.action.RequestProcessor.processPopulate(RequestProcesso r.java:798) > >org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:2 05) > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) > org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415) > javax.servlet.http.HttpServlet.service(HttpServlet.java:709) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > >Root Cause: > >java.lang.IllegalArgumentException: argument type mismatch > sun.reflect.NativeMethodAccessorImpl.invoke0(Native >Method) > >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :39) > >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI mpl.java:25) > java.lang.reflect.Method.invoke(Method.java:324) > >org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtil s.java:1789) > >org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUtil s.java:1684) > >org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java :1713) > org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:1019) > org.apache.commons.beanutils.BeanUtils.populate(BeanUtils.java:808) > org.apache.struts.util.RequestUtils.populate(RequestUtils.java:495) > >org.apache.struts.action.RequestProcessor.processPopulate(RequestProcesso r.java:798) > >org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:2 05) > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) > org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415) > javax.servlet.http.HttpServlet.service(HttpServlet.java:709) > javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > > >Could somebody help me? > >Thanks > >________________________ >Rodolfo _______________ > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]