[prev in list] [next in list] [prev in thread] [next in thread] 

List:       taglibs-user
Subject:    Re: JSTL c:out Output Problem
From:       Adam Sherman <adam () tritus ! ca>
Date:       2003-03-25 23:09:48
[Download RAW message or body]

On 03/25/03 14:04:14 -0500 Brian Buckley wrote:

> It appears you do not have ${list.headers}set up properly.  As written,
> you must have an object named "list" and that object must have a public
> getHeaders() method that returns an array, a list or other collection.
>
>> I have the following JSP:
>> <c:forEach items="${list.headers}" var="header">
>> <th><c:out value="${header}" /></th>
>> </c:forEach>

Thanksa for your input, it actually turns out that "header" is reserved and 
contains the page headers in an array. Changing var="header" to something 
different fixed my problem.

Thanks,

A.


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

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic