web项目部署到tomcat时抱404错
来源:百度知道 编辑:UC知道 时间:2024/05/22 08:07:46
HTTP Status 404 - /chap0402
--------------------------------------------------------------------------------
type Status report
message /chap0402
description The requested resource (/chap0402) is not available.
--------------------------------------------------------------------------------
Apache Tomcat/5.5.12
在%TOMCAT_HOME%\conf\Catalina\localhost目录下建一XML文件,内容如下。
<?xml version='1.0' encoding='utf-8'?>
<Context displayName="examination" docBase="你的页面文件目录" path="/映射名" reloadable="true" workDir="页面源文件存放目录">
web的本意是蜘蛛网和网的意思,在网页设计中我们称为网页的意思。现广泛译作网络、互联网等技术领域。表现为三种形式,即超文本(hypertext)、超媒体(hypermedia)、超文本传输协议(HTTP)等。
Web's intention is the spider web and web design, in the web design, we call the meaning of the web. Now widely translated network, Internet and other technology fields. Performance is three forms, namely hypertext (hypertext), hypermedia (hypermedia), hypertext transfer protocol (HTTP), etc。
在%TOMCAT_HOME%\conf\Catalina\localhost目录下建一XML文件,内容如下。
<?xml version='1.0' encoding='utf-8'?>
<Context displayName="examination" docBase="你的页面文件目录" path="/映射名" reloadable="true" workDir=