• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

tomcat mysql & java bean

L

logos

Guest
hi, i have to access a mysql database called "prova" from a jsp page running on tomcat server.
I want to use the java bean and i don't know which string i have to pass to the method DriverManager.getConnection() or if i have to use the jndi resourse of tomcat.

If i have to use tomcat and jndi resourse i would like to know how i have to modify the file server.xml of tomcat and a little example to obtain a connection to the db.

Is there the way to access the console manager of tomcat in plesk?

Thanks so much.
 
Back
Top