在tomcat5中怎样设立虚拟目录
my3b 2003-08-23 05:00:52 刚安装的tomcat5.0.7中的server.xml的最下面是这样的:
<!-- Tomcat Root Context -->
<!--
<Context path="" docBase="ROOT" debug="0">
-->
</Host>
</Engine>
</Service>
</Server>
我现在需要设立一个虚拟目录,我改写如下:
<!-- Tomcat Root Context -->
<!--
<Context path="" docBase="ROOT" debug="0">
<Context path="/jsp" docBase="C:\jsp" debug="0" reloadable="true"/>
-->
</Host>
</Engine>
</Service>
</Server>
但输入http://localhost:8080/jsp却不行,是不是我的写法有错误?哪位高手给指正一下好吗?这个虚拟目录根本就未建立成功,怎样写才正确啊!