急急急!!!

youxiangaddress 2008-03-04 03:09:32
急急急!!!!
在用开发时,遇到是关于http Status 404的麻烦,我知道是路径有问题,但我是初学者,不知道应在哪改写,我在Default WebApp --> Root directory-->switch3.jsp中的运行时报HTTP Status 404 - /switch.jsp 我看到是switch3.jsp 为社么报错是switch.jsp 是不是在C:\Documents and Settings\Administrator\jbproject\untitled3\Tomcat\conf\server8080.xml 中修改server8080.xml,把
<?xml version="1.0" encoding="UTF-8"?>
<!--This comment marks this file as generated, so it may be deleted and regenerated at any time. To preserve manual changes to this file, delete this comment.-->
<Server debug="0" port="8081" shutdown="SHUTDOWN">
<Service name="Tomcat-Standalone">
<Connector acceptCount="10" className="org.apache.catalina.connector.http.HttpConnector" connectionTimeout="60000" debug="0" maxProcessors="75" minProcessors="5" port="8080"/>
<Engine debug="0" defaultHost="localhost" name="Standalone">
<Host appBase="C:\Documents and Settings\Administrator\jbproject\untitled3\Tomcat\webapps" debug="0" name="localhost" unpackWARs="true">
<Context debug="0" docBase="C:\Documents and Settings\Administrator\jbproject\untitled3\defaultroot" path="" reloadable="true" workDir="C:\Documents and Settings\Administrator\jbproject\untitled3\Tomcat\work"/>
</Host>
</Engine>
</Service>
</Server>
把这个文件的<Context debug="0" docBase="C:\Documents and Settings\Administrator\jbproject\untitled3\defaultroot" path="" reloadable="true" workDir="C:\Documents and Settings\Administrator\jbproject\untitled3\Tomcat\work"/>
改为真确,但我弄不清这Context应怎样改,请多指教!!!!
...全文
13 点赞 收藏 2
写回复
2 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
关注 接分
回复
UltraBejing 2008-05-01
有点难度哦
回复
相关推荐
发帖
Apache
创建于2007-09-28

2.4w+

社区成员

Web 开发 Apache
申请成为版主
帖子事件
创建了帖子
2008-03-04 03:09
社区公告
暂无公告