[Logo]
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.
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
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.
Hang a left on main. Then read this tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA


This thread has been viewed 889 times.

All times above are in ranch (not your local) time.
The current ranch time is
Aug 19, 2018 16:02:24.