This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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: 152

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

Joined: Jan 10, 2002
Posts: 61310
    
  66

You are doing JDBC in a JSP?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
GeeCON Prague 2014
 
subject: Display Table name in JSP