我在struts.xml文件的package标签下的actian下的result中只要是添加type=redirect再用浏览器访问就会报错403
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<constant name="struts.enable.DynamicMethodInvocation" value="false" />
<constant name="struts.devMode" value="true" />
<package name="hello" extends="struts-default">
<action name="hello" class="action.HelloAction" method="hello">
<result name="success" type="redirect">/index.jsp</result>
</action>
</package>
</struts>
错误页面

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
"http://struts.apache.org/dtds/struts-2.3.dtd">
<struts>
<constant name="struts.enable.DynamicMethodInvocation" value="false" />
<constant name="struts.devMode" value="true" />
<package name="hello" extends="struts-default">
<action name="hello" class="action.HelloAction" method="hello">
<result name="success" type="redirect">/index.jsp</result>
</action>
</package>
</struts>
错误页面
