Vamsee Kanakala wrote the following on 1/11/2005 9:59 AM:
Hi List,
I have a code fragment like this:
<td align="left"> <c:forEach items="${statusList}" var="current"> <c:out value="${current.name}"/> </c:forEach> </td>
Where statusList is a list of class instances, which has a setters and getters for properties id and name. Now, if I give the above code, I should be able to print out the names in each instance, right? But I am not able to. Please help. And, my Lomboz plugin auto-compiles my jsp and says:
"According to tld, Attribute items does not accept any expressions"
It sounds like you are probably are now using a JSP2.0 container like Tomcat5 and are refering to the wrong tld. Refer to the one in the jar like:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
and remove and direct pointing to the tlds you have.
But I'm using c.tld. I don't know what I'm doing wrong. Please help.
-VK
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Rick
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]