This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
and one register_success.jsp page thats displayed after successful registration.
The register_success.jsp page is
Everything happens successfully with except register_success.jsp page throws exception at tag <s:property value="beanPerson.lastName"/> saying
Error setting expression 'beanPerson.lastName' with value '[Ljava.lang.String;@1d05b0a'
Class ognl.OgnlRuntime can not access a member of class Register.Model.Person with modifiers "private"
The rest fields firstName, emailId and age are displayed successfully on register_success.jsp page
I am not able to figure out whats wrong with lastName field.
Could you please help?