getProperty « JavaBean « JSP-Servlet Q&A





1.  strange behaviour    stackoverflow.com

I have a bean class whit set/get methods and from a JSP page when I try to get a property with:

  1. <jsp:getProperty name="p" property="firstName"></jsp:getProperty> and the method in the bean is named as: getFirstName ...