This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
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: 163

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

Joined: Jan 10, 2002
Posts: 63208
    
  69

You are doing JDBC in a JSP?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Have you checked out Aspose?
 
subject: Display Table name in JSP
 
It's not a secret anymore!