Thanks ----- Original Message ----- From: "Dan Allen" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, March 10, 2003 12:02 PM Subject: Re: Help in my struts error
> > Richard Raquepo ([EMAIL PROTECTED]) wrote: > > > i have this error whenever i am doing a save and cancel in my jsp.i have used a form bean. but i didn't do any fancy thing in my form beanso i don't know why i get this error. any idea why? thanks...java.lang.IllegalArgumentException: argument type mismatch > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 ) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:25) > > at java.lang.reflect.Method.invoke(Method.java:324) > > at org.apache.commons.beanutils.PropertyUtils.setSimpleProperty(PropertyUtils.j ava:1789) > > at org.apache.commons.beanutils.PropertyUtils.setNestedProperty(PropertyUtils.j ava:1684) > > at org.apache.commons.beanutils.PropertyUtils.setProperty(PropertyUtils.java:17 13) > > at org.apache.commons.beanutils.BeanUtils.setProperty(BeanUtils.java:924) > > 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.j ava: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) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:9 6) > > at com.caucho.server.http.Invocation.service(Invocation.java:312) > > at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) > > at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:244) > > at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163) > > at com.caucho.server.TcpConnection.run(TcpConnection.java:137) > > at java.lang.Thread.run(Thread.java:536) > > setSimpleProperty in PropertyUtils does not do type conversion. > Make sure the value you are passing in is the same value that the > form bean expects. > > Dan > > -- > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > Daniel Allen, <[EMAIL PROTECTED]> > http://www.mojavelinux.com/ > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > "I'm old enough to know better, but still too young to care." > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]