I'm having trouble getting up to speed with JSTL. I'm trying to create a javax.servlet.jsp.jstl.sql.Result object in a bean, and then access it from a jsp page. It sounds simple enough, but I've yet to make it work. Here's what I'm doing. Here is the method in my class:
Here is how I'm trying to access it in my page:
When I run it, this is the error I get:
Don't know how to iterate over supplied "items" in <forEach>
The interface javax.servlet.jsp.jstl.sql.Result is none of these things.
Joined: Nov 04, 2005
My apologies to all who were offended by Betty Crocker.
It was my understanding that the javax.servlet.jsp.jstl.sql.Result object was intended to wrap a ResultSet object to simplify its use in JSTL. Am I incorrect? Does this tag only relate to use with the <sql:*> library?