aspose file tools*
The moose likes Struts and the fly likes Outputting array data on JSP not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Outputting array data on JSP not working" Watch "Outputting array data on JSP not working" New topic
Author

Outputting array data on JSP not working

shaf maff
Ranch Hand

Joined: Sep 07, 2008
Posts: 180
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

Joined: Sep 07, 2008
Posts: 180
Anyone?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Outputting array data on JSP not working