We have a couple datasources defined in our application (in
struts-config.xml) under separate keys (one is for our dev environment, and
the other for production).  The default behaviour for Struts is to
initialize all the defined datasources and make them available to the
application.  Depending on which environment we're running in, only one of
them should be initialized.

Can I tell Struts not to initialize the datasources automatically so I can
do it manually in my own servlet?  I already have a constant defined in a
resource file so my application can determine which datasource to use.  Any
suggestions?

(Struts 1.1 beta 1, Tomcat 4.03, Sun JDK 1.3.1)

Thanks,

Arash

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to