[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.
No one can make you feel inferior without your consent - Eleanor Roosevelt. tiny ad:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter


This thread has been viewed 841 times.

All times above are in ranch (not your local) time.
The current ranch time is
Feb 18, 2018 01:55:34.