struts.xml配置文件如下
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundaation//DTD Struts Configuration 2.5//EN"
"http://struts.apache.org/dtds/struts-2.5.dtd">
<struts>
<constant name="struts.i18n.encoding" value="UTF-8" />
<constant name="struts.convention.action.mapallmatches" value="true" />
<constant name="struts.enable.DynamicMethodlnvoction" value="true" />
<package name="default" namespace="/" extends="struts-default" strict-method-invocation="false">
<action name="goods" class="com.woniu.websan.action.GoodsAction">
<result name=""></result>
</action>
<action name="login" class="com.woniu.websan.action.LoginAction">
<result name="success">/success.jsp</result>
<result name="error">/login.jsp</result>
</action>
</package>
</struts>
404是没有这个页面或者文件的意思,您看看是不是所有的页面,每个jsp全都改成utf-8了,是不是文件多了有漏掉的呢