关于TOMCAT虚拟目录配置的简单问题,在线准备给分!(已经搜索过相关主题仍未解决) 刷了N遍,还没人UP,焦急中... 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 这样试试:<Context path="/test" docBase="d:/test" debug="0" privileged="true" reloadable="true"/><Context path="/moon" docBase="c:/redsun" debug="0" privileged="true" reloadable="true"/> 按楼上添加,然后把一个index.jsp文件拷贝到d:/test、c:/redsun目录下面,试试http://localhost:8080/test/index.jsphttp://localhost:8080/moon/index.jsp应该OK的。 会不会是启动了另一个tomcat? <Engine name="Standalone" defaultHost="localhost" debug="0"><Host name="localhost" debug="0" appBase="d:/test" unpackWARs="true">找到这两句,改成上面的方式 应该这样:<Context path="/test" docBase="test" debug="0" reloadable="true"> </Context><Context path="/moon" docBase="redsun" debug="0" reloadable="true"> </Context>其中test和redsun是webapps的子目录 救急。。。访问jsp文件 ,浏览器一直报404错误 求jquery实现拖拽文件上传 请问仙域游戏是使用什么开发的 jsp 页面读入文件判断用户名 是否存在 和密码是否正确 自动投票程序 关于netscape.javascript.JSObject 的问题, 在线等 谢了 谁知道brio tomcat启动时出现:警告: Couldn't initialize Jasper,请问怎么解决 关于数据类型转化地问题 Servlet跳转问题? 分页问题,老大们救命,我。。。我。。。不行啦。。。嘘。。。急。。。 高手进来看看!服务器启动时,如何进行初始化?给200
<Context path="/test" docBase="d:/test"
debug="0" privileged="true" reloadable="true"/>
<Context path="/moon" docBase="c:/redsun"
debug="0" privileged="true" reloadable="true"/>
http://localhost:8080/test/index.jsp
http://localhost:8080/moon/index.jsp应该OK的。
找到这两句,改成上面的方式
<Context path="/test" docBase="test" debug="0" reloadable="true">
</Context>
<Context path="/moon" docBase="redsun" debug="0" reloadable="true">
</Context>
其中test和redsun是webapps的子目录