wood burning stoves 2.0*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Query on displaying User records in jsp using Struts