在conf目录下, 修改 server.xml 文件, 在Host标签中,加入子标签
l<Context path="" docBase="工程名" debug="0" reloadable="true"/>
其中path =“” 表明依 Host的 path为相对目录。