Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

attribute items does not accept any expressions

843836Jun 20 2005 — edited Oct 9 2008
I am new to JSP,
the following is the code ...

<%@ taglib prefix = "c" uri = "http://java.sun.com/jstl/core" %>

<html>
<body>
You sent the following request headers:
<table border="1">
<tr>
<th>Header</th>
<th>Value</th>
</tr>
< c:forEach var = "entry" items = "${header}">
<tr>
<td>${entry.key}</td>
<td>${entry.value}</td>
</tr>
</c:forEach>

</body>
</html>

The following is the error.

[b][b]org.apache.jasper.JasperException: /request.jsp(11,0) According to TLD or attribute directive in tag file, attribute items does not accept any expressions

Any suggestions?
Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 6 2008
Added on Jun 20 2005
5 comments
2,494 views