• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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