It's killing me.
I am unable to use a pojo(simple java class akin Employee or Person) in my struts 1.3 ActionForm as a formbean's property. I am referring complete reference second edition, and I see in it, it has been mentioned that owing to java's reflection one can use the nested properties in formbeans.
But when I use it, and try to access it in the form's input jsp page, then I get this exception:
org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException: Invalid argument looking up property
Actually I created a Person property named "p" for my form, and this Person class has certain attributes, one of them being, firstName(String).
When I create a form for taking this firstName as input, by using: <html:text property="p.firstName"/> inside <form action="/Calc"/>, it gives the above mentioned exception.
I even tried the nested tag library tag for the same, but it i also having the same problem.