struts.xml配置和web.xml配置没错,为什么一直是404

<?xml version="1.0" encoding="UTF-8"?>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">


index.jsp


struts2
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter


struts2
/*


<?xml version="1.0" encoding="UTF-8"?>






/Hello.jsp




<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


你给的代码太少了。运行出错是什么样子,你又不贴出来。我看到你<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>代码,改为UTF-8编码

应该是配置文件的问题,,