怎样设置 JSP 的虚拟目录

#:如果你装的是tomcat3.2可以这样修改

在你的和下面的一段代码相似的地方添加如下代码

1<context crosscontext="true" debug="0" docbase="d:/www/jsp" path="/web" reloadable="true" trusted="false">
2</context>

其中path的值是虚拟目录
docbase的值是你的硬盘的的目录的绝对路径。

Published At
Categories with Web编程
Tagged with
comments powered by Disqus