很初级的问题....关于虚拟路径中连接"/"回到根目录的问题
嗯,第一次遇到这个问题,不知道怎么回事。
tomcat 4.1.18
<Context path="" docBase="D:\\MyWEB\\information\\defaultroot" debug="0" reloadable="true"/>
<Context path="/test" docBase="d:/forum/test/" debug="0" reloadable="true" />
在test中建立测试页面,test1.jsp 内容为:
<a href="/" > test</a>
点击连接后,回到http://127.0.0.1/
怎么办呀?谁知道如何设定?
我需要的是http://127.0.0.1/test/啊