Hi! It is possible to declare the datasource in the servlet.xml and reference it in the web.xml of the application (via jndi). Or one can declare it in the application itself, i.e. in application-context.xml. The first one declares the datasource for all applications deployed in this servlet-container, the second one is only for the application. Is there a good reason for declaring the datasource in servlet.xml, other than to "share" the datasource with multiple applications? Shouldn't every application have their own datasource? Which type of declaration do you prefer?
Greetings, Daniel --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org