struts2配置
<?xml version="1.0" encoding="UTF-8"?><web-app version="2.4"
xmlns="http://java.
xmlns:xsi="http://www.
xsi:schemaLocation="http://java.
http://java.
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<jsp-config>
<taglib>
<taglib-uri>struts2</taglib-uri>
<taglib-location>/WEB-INF/tld/struts-tags.tld</taglib-location>
</taglib>
</jsp-config>
</web-app>
以上为web.xml中代码,运行后tomcat找不到该项目,项目已经加载并在tomcat的文件夹下存在,错误信息:
HTTP Status 404 - /cityInfo/
--------------------------------------------------------------------------------
type Status report
message /cityInfo/
description The requested resource (/cityInfo/) is not available.
希望高手指点!!!!!!