This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance 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