File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases 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 and Relational Databases
Bookmark "Display Table name in JSP" Watch "Display Table name in JSP" New topic

Display Table name in JSP

Mohtashim Shaikh
Ranch Hand

Joined: Jul 18, 2010
Posts: 43

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

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

Joined: Jan 10, 2002
Posts: 63548

You are doing JDBC in a JSP?

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Display Table name in JSP
It's not a secret anymore!