tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hassan Schroeder <>
Subject Re: Different JDBC sources?
Date Tue, 13 Sep 2005 16:33:25 GMT
Vsevolod (Simon) Ilyushchenko wrote:

> As a relative Tomcat newbie, I can't find anything about how to use two 
> different JDBC sources with the same codebase. I'd like to have two 
> different URLs that use the same classes and JSP pages, but reference 
> two different databases (test and production). Is there a standard way 
> of achieving this?

Presumably these are two different Contexts; put the appropriate
Resource in each ${context}.xml file...

Hassan Schroeder -----------------------------
Webtuitive Design ===  (+1) 408-938-0567   ===

                           dream.  code.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message