• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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