Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
ronnie villareal
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1324
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

is user object is array? or simple POJO?


if its not an array then you know how to deal with.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you trying to iterate over something that is not a collection?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
P.S. Having both POST and GET request channel to the same processing rputine is a really bad and obsolete practice.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic