This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
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: 42910
    
  68
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: retrive table name in jsp