Hi,
I am trying to set up a simple
JSP page on
Tomcat 5.5.4 using JSTL-standards-1.1.2. Here is the problem I am having. I think it is a bug in commons-el.
My session scope contains an object (paginator) which has a property "itemsforpage" which returns a List:
I am trying to iterate over this list like this:
When I try to access the page, I am getting an exception:
which says that it doesn't know how to iterate over the items I specified.
${paginator.itemsforpage}. I did some debugging and I found that the object it is dealing with is actually of type Paginator (not List)!!
It is as if I had items="${paginator}" instead of items="${paginator.itemsforpage}". However, the paginator.getItemsforpage() method is getting called.
1) Why is commons-el evaluating this expression to the wrong object? I think this is a bug.
2) Why is it using that commons-el expression evaluator (comes with Tomcat) instead of JSTL 1.1? Can I force it to use the real JSTL standards.jar?
Thanks
Geoffrey