tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hassan Schroeder <has...@webtuitive.com>
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 ----------------------------- hassan@webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message