aspose file tools*
The moose likes JSP and the fly likes javax.servlet.jsp.JspTagException: Don't know how to iterate over supplied Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "javax.servlet.jsp.JspTagException: Don Watch "javax.servlet.jsp.JspTagException: Don New topic
Author

javax.servlet.jsp.JspTagException: Don't know how to iterate over supplied "items"

ronnie villareal
Greenhorn

Joined: Oct 27, 2012
Posts: 6
Im doing a search in the database but the one that i am doing is showing "dont know how to iterate over supplied items" error

My userDao


My Servlet

My JSP


Please Help me thanks
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321


is user object is array? or simple POJO?


if its not an array then you know how to deal with.


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

Why are you trying to iterate over something that is not a collection?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

P.S. Having both POST and GET request channel to the same processing rputine is a really bad and obsolete practice.
 
jQuery in Action, 2nd edition
 
subject: javax.servlet.jsp.JspTagException: Don't know how to iterate over supplied "items"