jboss、tomcat配置虚拟目录

 

TOMCAT:
Tomcat X.XX/conf/server.xml

<!--
<Context path="" docBase="ROOT" debug="0">
-->
加入
<Context path="/Test" docBase="E:/Test/WebContent" debug="0" privileged="true" />

JBOSS:
server/default/deploy/jbossweb-tomcat50.sar/server.xml
<DefaultContext cookies="true" crossContext="true" override="true"/>
<Context path="/Test" docBase="e:test" debug="1" reloadable="true" override="true" crossContext="true" defaultWebXml="E:/umsWeb/Test/WEB-INF/web.xml"/>

你可能感兴趣的:(jboss、tomcat配置虚拟目录)