This is not a JSTL list. Please post your question to http://forum.java.sun.com/forum.jsp?forum=45

David



From: Adam Sherman <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: c:out output problem
Date: Mon, 24 Mar 2003 20:47:35 -0500

The following jsp:
<c:forEach items="${list.headers}" var="header">
        <th><c:out value="${header}" /></th>
</c:forEach>

Where ${list} is a Bean with a getHeaders() that returns a Collection which, in this case, is an ArrayList of Strings.

The ${list} object is used elsewhere and works perfectly so I know it is being properly set.

The above outputs:

[EMAIL PROTECTED] [EMAIL PROTECTED]

(There suppose to be two headers.)

Any ideas?

Thanks,

A.

--
Adam Sherman
Tritus CG Inc.
http://www.tritus.ca/
+1 (613) 797-6819

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to