using tomcat 5.5.17 + jstl 1.1 : <c:out value="${requestScope.objectA.propertie1}" /> work. but, <c:forEach var="foo" items="${requestScope.objectA.lPropertie2}"> doesn't work, i have to write (first char of List lPropertie2 to upper case) <c:forEach var="foo" items="${requestScope.objectA.LPropertie2}"> Class A definition : { private String propertie1; private ArrayList lPropertie2; public String getPropertie1(){..} public ArrayList getLPropertie2(){..} }
I'm pretty sure this will turn out to be an issue with the bean spec rather than a code bug. As far as I know, the bean spec views the L in 'setLProperties' as an acronym rather than a word of single size. Therefore it keeps it capitalised. I've seen similar bugs reported in Spring and BeanUtils.
Henri's right. In accordance with the JavaBeans spec, the method: public ArrayList getLPropertie2(){..} exposes a property called "LPropertie2". You can either use that or create a BeanInfo class if you'd like to change the property name. This has nothing to do with the taglib.
thank you, the next time I will seek better before disturbing you.