hey friends I am trying to develop a small Employee database application and i am facing a strange problem: I have a java bean called EmpEntity having getter and setter methods for the fields. but after getting the resultset in the Arraylist collection I am not able to retrive the data using <bean:write> tag in the JSP .The error is as follows:
without seeing your complete <bean:write> statement, it's a guess that you may not have the correct case. e.g it should be <bean:write name="beanName" property="pEmpEmployeeId"/> and the getter method MUST be getPEmpEmployeeId(). lowercase 'p' for the property, uppercase 'P' for the getter method.
-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
Looks fine. Could you check your struts-config.xml file for the action form bean that you are using. Check for the name of the action form. Also, you could take a look at the field "pEmpEmployeeId" make sure that the case is correct. Note that your getter method would something like