Bug 20192 - Can't access properties of collection classes
Summary: Can't access properties of collection classes
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Standard Taglib (show other bugs)
Version: 1.0
Hardware: Other other
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2003-05-23 14:51 UTC by Eric Jain
Modified: 2004-11-16 19:05 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Eric Jain 2003-05-23 14:51:11 UTC
It seems that is is not possible to access a property of a class that 
implements the Collection interface. For example:

  <jstl:out value="${myCollection.property}"/>

results in the tag complaining about not being able to convert a string to an 
int. It would be usefull if the tag checked whether or not such a property 
actually exists before complaining.
Comment 1 Pierre Delisle 2003-05-28 00:44:35 UTC
This behavior is according to spec (see section A.3.4).

If you would like to get the Expert Group's attention on this issue,
please submit a comment to jsr-152-comments@jcp.org (the EL is now owned by the
JSP expert group, JSR-152).