This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Query on displaying User records in  jsp using Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Query on displaying User records in  jsp using Struts" Watch "Query on displaying User records in  jsp using Struts" New topic
Author

Query on displaying User records in jsp using Struts

GaneshKumar Kumar
Greenhorn

Joined: May 23, 2006
Posts: 24
Hi,
I am using Struts2 hybernate and Spring. My requirement is to get the user records from the database, store it in a List and display the same in jsp page (as a table). I have written the query for getting the user records from the database. I have the List in my action class populated with values(taken from database). How can I display the list values in a table in the jsp page?

My code in action class is like this

List brandDetailID = obj.select(brandID);

Can anybody please give me a suggestion?

Thanks.
Ganesh
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
I think you will find your answer in this thread that was posted recently in this forum.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Query on displaying User records in jsp using Struts