This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 61082
    
  66

You are doing JDBC in a JSP?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Display Table name in JSP