This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes Display Table name in JSP 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
Bookmark "Display Table name in JSP" Watch "Display Table name in JSP" New topic
Author

Display Table name in JSP

Mohtashim Shaikh
Ranch Hand

Joined: Jul 18, 2010
Posts: 43
Hi,

I am able to get the connection object using service name to Oracle Database as below.



Can you help me further code to display all the table names in this connection?
Bill Clar
Ranch Hand

Joined: Sep 21, 2006
Posts: 150

Take a look at DatabaseMetaData (<Click It)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

You are doing JDBC in a JSP?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
 
subject: Display Table name in JSP
 
Similar Threads
No suitable driver found for JDBC
how to hide and unhide a table in html
Fetching values from the database
Entity Bean Error - SQLException
types of drivers