Hi all, I tried to use the function "Populate into the Struts action class a List of java Object " in my project- Struts 2 showcase -> Conversion -> Populate into the Struts action class a List of Person.java Object , but I got the setting error as follows:
ERROR [ParametersInterceptor] ParametersInterceptor - [setParameter s]: Unexpected Exception caught setting 'persons[0].name' on 'class PersonAction: Error setting expression 'persons[0].name' with value '[Ljava.l ang.String;@5b38d6' What I have done is : 1. Configure struts.xml <action name="enterPersonsInfo" method="input" class="PersonAction"> <result>/enterPersonInfo.jsp</result> </action> <action name="submitPersonInfo" method="submit" class="PersonAction"> <result>/showPersonInfo.jsp</result> <result name="input">enterPersonInfo.jsp</result> </action> 2. copy 2 java files Person.java and PersonAction.java 3. copy PersonAction-conversion.properties When I execute the submitPersonInfo.action, I got errors mentioned above. Did I miss anything ? What is the problem? Please help!! Thanks -- View this message in context: http://www.nabble.com/Setting-error-in-conversion-showcase%3A-Populate-into-the-Struts-action-class-a-List-of-Person.java-Object-tf4306849.html#a12260080 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]