K_P_exciting
发贴: 9
积分: 0
|
于 2006-05-19 21:07
//不知道是怎么回事。楼主可以参考一下我这个!!我这个是可以的哦!^_^! =============================================== <Host appBase="C:\Tomcat 5.5\webapps" name="localhost"> <Context crossContext="true" docBase="D:/WebDev/ROOT" path="/main" reloadable="true"> <Resource name="jdbc/Northwind" type="javax.sql.DataSource" password="sqlserversaps" driverClassName="com.microsoft.jdbc.sqlserver.SQLServerDriver" maxIdle="2" maxWait="5000" username="sa" url="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Northwind" maxActive="4"/> </Context> <Context crossContext="true" docBase="F:/JAVA Explore/NetBeans5.0/ROOT/build/web" path="/netbeans" reloadable="true"> </Context> <Context crossContext="true" docBase="F:\JAVA Explore\EclipseII\Meal\meal" path="/meal" reloadable="true"> <Resource name="jdbc/meal" type="javax.sql.DataSource" password="sqlserversaps" driverClassName="com.microsoft.jdbc.sqlserver.SQLServerDriver" maxIdle="2" maxWait="5000" username="sa" url="jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=meal" maxActive="4"/> </Context> </Host>
|