日期:2014-05-18 浏览次数:20644 次
<struts>下面详细说明错误出现的过程
<constant name="struts.enable.DynamicMethodInvocation" value="false" />
<constant name="struts.devMode" value="true" />
<package name="default" namespace="/" extends="struts-default">
<interceptors>
<interceptor name="mySimple" class="com.dong.chun.interceptor.MyInterceptor"></interceptor>
</interceptors>
<global-results>
<result name="login">/login.jsp</result>
</global-results>
<action name="loginAction" class="com.dong.chun.action.LoginAction">
<interceptor-ref name="my"></interceptor-ref>
<interceptor-ref name="defaultStack"></interceptor-ref>
<result name="SUCCESS">/welcome.jsp</result>
</action>
</package>
</struts>