Forums Register Login
retrive table name in jsp

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

explain it.

please reply me..

thank you.

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

Hope that helps.

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.

This thread has been viewed 918 times.

All times above are in ranch (not your local) time.
The current ranch time is
Nov 15, 2018 16:21:05.