From Overview of JDBC: Java Database Connectivity Java Servlets -- Spring Semester 1999. byNancy McCracken
This information is available at any time through the ServerConfig object. (This is why you should save the ServerConfig parameter from the init method.): Servlet Context c = config.getServletContext ( )