有这么一些配置文件
<action name="hello" class="com.hello">
<result name="input">hello1</result>
<result name="success">hello1</result>
<interceptor-ref name="defaultStack" />
</action>
<action name="hello1" class="com.hello1">
<result name="input">/MyJsp.jsp</result>
<result name="success">/MyJsp.jsp</result>
<interceptor-ref name="defaultStack" />
</action>
当我在hello这个action里面产生了actionerror或者filederror之类的,怎么在hello1的MyJsp.jsp里面显示出来???
<action name="hello" class="com.hello">
<result name="input">hello1</result>
<result name="success">hello1</result>
<interceptor-ref name="defaultStack" />
</action>
<action name="hello1" class="com.hello1">
<result name="input">/MyJsp.jsp</result>
<result name="success">/MyJsp.jsp</result>
<interceptor-ref name="defaultStack" />
</action>
当我在hello这个action里面产生了actionerror或者filederror之类的,怎么在hello1的MyJsp.jsp里面显示出来???
<actionerror/>
<fielderror/>
<actionerror/>
<fielderror/>
<actionerror/>
<fielderror/>
的/MyJsp.jsp就行了
单纯的去可以,但是通过了hello1再出来就没了
<actionerror/>
<fielderror/>
单纯的去可以,但是通过了hello1再出来就没了
单纯的去可以,但是通过了hello1再出来就没了
用标签去不出来的