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 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 and Relational Databases
Bookmark "retrive table name in jsp" Watch "retrive table name in jsp" New topic

retrive table name in jsp

mkabdul kadermk

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

Joined: Jul 15, 2009
Posts: 377


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

Hope that helps.


I love this place!
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
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:
subject: retrive table name in jsp
jQuery in Action, 3rd edition