使用struts2报404错误

来源:百度知道 编辑:UC知道 时间:2024/06/28 16:14:06
我使用eclipse3.5 部署用struts2做的应用到tomcat6上,运行index.jsp时总是报404错误,而tomcat启动正常,但当我把filter这段代码拿走就好了,加上就报错
HTTP Status 404
type Status report
description The requested resource () is not available.

补充:我在WEB-INF/lib中加入了五个包struts2-core.jar,xwork.jar,ognl.jar,freemarker.jar,commons-logging.jar
急需解决……
web.xml如下:
<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_9" version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/javaee" xmlns:xsi="Struts2在Tomcat中的报错 使用struts2的validation进行客户端验证 java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.FilterDispatch错误? Struts2开发中的 No result defined for action 错误 在写第一个struts2程序时tomcat报错,哪位大大帮忙指点一二。。。。 struts2 validate struts2 HelloWorld struts2国际化 struts2配置文件 魔兽报错误