1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

tomcat mysql & java bean

Discussion in 'Plesk for Linux - 8.x and Older' started by logos, Nov 11, 2005.

  1. logos

    logos Guest

    0
     
    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.
     
Loading...