MyEclipse:
path below: C:\web\myeclipse\apache-tomcat-6.0.26\conf\Catalina\localhost
Deployment System Test.xml:
<context path= "/test" docbase= "C:\web\myeclipse\web\TEST\WebRoot" debug= "5" reloadable= "true" crosscontext= "true ">
<resource name= "Jdbc/default"
Auth= "Container"
Type= "Javax.sql.DataSource"
Maxactive= "100"
Maxidle= "30"
Maxwait= "10000"
Username= "U_test"
Password= "U_test"
Driverclassname= "Oracle.jdbc.driver.OracleDriver"
Url= "JDBC:ORACLE:THIN:@192.168.3.11:1521:SZEPB"/>
</Context>
Eclipse:
The Server.xml file inside the server project is added to the host tag:
<context docbase= "C:\web\eclipse\web\like\WebContent" path= "/like" reloadable= "true"/>
<context docbase= "C:\web\eclipse\web\TEST\WebRoot" path= "/test" reloadable= "true" >
<resource name= "Jdbc/default"
Auth= "Container" type= "Javax.sql.DataSource" maxactive= "maxidle=" 10000 "maxwait="
Username= "U_test" password= "U_test"
Driverclassname= "Oracle.jdbc.driver.OracleDriver" url= "JDBC:ORACLE:THIN:@192.168.3.11:1521:SZEPB"/>
</Context>
To modify the output path of class:
Platform/webroot/web-inf/classes