wood burning stoves 2.0*
The moose likes JDBC and the fly likes Displaying database data in JSP page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

Displaying database data in JSP page

Jane Skylar
Greenhorn

Joined: Nov 24, 2011
Posts: 3
Hey guys I'm pretty much lost as to what to do.

I have configured my DB and am using hibernate, I wrote a successful query




I have also configured a browser file with the hibernate query.




Now what I want to do is display the whole table in JSP when a user selects 10 as the course credit hours

I have no idea how to do that, all I have is this.


Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

As far as I can see you have the JDBC part working fine, but you don't know how to make JSP output the data. Since you already asked a duplicate of this question in the JSP forum, it would be good if all the answers went there. I will close this one for the convenience of all.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Displaying database data in JSP page
 
Similar Threads
Gettinh Exception in JSP
"java.lang.String cannot be cast" Error in Hibernate
How to display Database query in JSP?
hibernate and JSF
EJB with Hibernate