tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "muhammed soyer" <>
Subject Using JDBC Data source from a business class
Date Mon, 06 Sep 2004 06:12:51 GMT
    I defined a JDBC data source in tomcats server.xml  .I add a context line in the web applications
webapp.xml file .
My servlets are using the ds without a problem ..But I have some classes which are POJO classes
to make my job easier whie accessing the DB ..these classes couldnt use my JDBC definition
..As I guess its from context problems ..But I couldnt solve the problem ..

What should I do to use tomcat's ds from a POJO class ?


View raw message