在TOMCAT中配置数据源(MSSQL2005)

<?xml version="1.0" encoding="UTF-8"?>

   
<Context path="/f3query" docBase="f3query"
        debug="5" reloadable="true" crossContext="true">
 
     <Resource name="jdbc/F3Mail" auth="Container" type="javax.sql.DataSource"
               maxActive="100" maxIdle="50" maxWait="10000"
               username="aa" password="123" driverClassName="com.microsoft.sqlserver.jdbc.SQLServerDriver"
               url="jdbc:sqlserver://192.168.1.22:3433;databaseName=aa"/>
              
    
</context>

你可能感兴趣的:(sql,tomcat,xml,jdbc,Microsoft)