Hey all,
i try to call an action from my jsp:

                <html:form action="/editperson" name="showpersonForm"
type="de.hauschel.wapen.struts.form.ShowpersonForm">
                        age : <html:text property="age"/><html:errors 
property="age"/></br>
                        birthday : <html:text property="birthday"/><html:errors
property="birthday"/></br>
                        ...
                </html:form>

But there is an Error:
javax.servlet.ServletException: BeanUtils.populate
        at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:1099)
        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)
        ...

root cause

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)
        ...


Does anybody knows this problem ?
Is there a way to get more information about the error,
usually a debug msg in "org.apache.commons.beanutils.PropertyUtils" ?

I've set the debug mode to:

        <init-param>
            <param-name>debug</param-name>
            <param-value>5</param-value>
        </init-param>
        <init-param>
            <param-name>detail</param-name>
            <param-value>5</param-value>
        </init-param>

But there is no usefull message ;-(


Fredy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to