c:forEach issue

11 views
Skip to first unread message

Crest-Boy

unread,
Jun 6, 2009, 8:35:57 PM6/6/09
to Java Web Application
Hi Boys:

When there is one element in the items, I encountered the following
exception:

javax.servlet.ServletException: Don't know how to iterate over
supplied "items" in <forEach>

Not sure if you can help out of this. Thanks in advance!

baby baby

unread,
Jun 9, 2009, 5:39:54 AM6/9/09
to javaw...@googlegroups.com
Hi,

Check out that the item on which you are trying to iterate is a collection and not a normal object.
Reply all
Reply to author
Forward
0 new messages