• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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