GeeCON Prague 2014*
The moose likes JDBC and the fly likes retrive 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 "retrive table name in jsp" Watch "retrive table name in jsp" New topic
Author

retrive table name in jsp

mkabdul kadermk
Greenhorn

Joined: Jun 04, 2010
Posts: 10


how do you retrieve all table names form mysql database in jsp

explain it.

please reply me..

thank you.
Sean Clark
Rancher

Joined: Jul 15, 2009
Posts: 377

Hey,

You will need to query the database, information on doing this can be found in the MySQL documentation here: MySQL documentation

Hope that helps.

Sean


I love this place!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42042
    
  64
A better -because DB-independent- approach would be to use the Connection.getMetaData() method.

I'll move this to the JDBC forum, as it has nothing to do with JSP.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: retrive table name in jsp