Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

retrive table name in jsp

 
mkabdul kadermk
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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

explain it.

please reply me..

thank you.
 
Sean Clark
Rancher
Posts: 377
Android Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic