Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Outputting array data on JSP not working

 
shaf maff
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys

I have a report list I want to output on my JSP page. The way this works is I have a reportDAO class which has a method that gets the report data from the DB, places it into a bean, inserts bean into an array and then returns that array. I have a login action which once it logs in the user it gets the that array from the reportDAO and then forwards the user to the administrator page. I am using a foreach loop to loop through the array. They problem is nothing is outputted into the page.. See code below:

reportDAO:


Login action:


JSP:










.
 
shaf maff
Ranch Hand
Posts: 180
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anyone?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic