struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbac...@kcp.com
Subject Multiple Data-Source Problem
Date Thu, 05 Dec 2002 20:36:08 GMT

How do access multiple data-sources' in an application.  Here are may
data-source's


<data-sources>
            <data-source>
                  <set-property property="key" value="MRA"/>
                  <set-property property="driverClass" value
="oracle.jdbc.driver.OracleDriver"/>
                  <set-property property="url" value="jdbc:oracle:thin:
@147.101.104.63:1524:common"/>
                  <set-property property="user" value="MRA"/>
                  <set-property property="password" value="mralog"/>
            </data-source>
            <data-source>
                  <set-property property="key" value="PHONE_DB"/>
                  <set-property property="driverClass" value
="oracle.jdbc.driver.OracleDriver"/>
                  <set-property property="url" value="jdbc:oracle:thin:
@oid:1521:infoprd"/>
                  <set-property property="user" value="info_user"/>
                  <set-property property="password" value="info_user"/>
            </data-source>
      </data-sources>

Thank you


Tim Bachta
Information Technology
MC 48
816-997-7137



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message