Bug 8408 - Property "value" not available inside <req:attributes> body
Summary: Property "value" not available inside <req:attributes> body
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Request Taglib (show other bugs)
Version: 1.0
Hardware: All All
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2002-04-23 10:32 UTC by Mike Wilcox
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 Mike Wilcox 2002-04-23 10:32:49 UTC
Using <req:attributes id="loop"> to loop through all request-context attributes,
then retrieving the value using <jsp:getProperty name="loop" property="value">
causes a servlet exception in the container:

[ServletException in:/WEB-INF/blah.jsp] Cannot find any information on property
'value' in a bean of type 'org.apache.taglibs.request.AttributesTag''

But this does work for the application, session and page taglibs.

Probable cause, I think:
..request.AttributesTag.java seems to have a getAttribute() method instead of a
getValue() method.

<jsp:getProperty ... property="attribute"> does work.
Comment 1 Glenn Nielsen 2002-04-23 13:08:17 UTC
Prior to the 1.0 release the attributes tag attribute property name was
changed to value.  This had not been fully implemented. This has been fixed.
The updated taglib will be in the next nightly build.
Thanks for reporting this.