struts2的action问题
隐藏起来 2010-11-15 04:28:40 <s:actionerror />
<s:fielderror cssStyle="color:red" />
在
<action name="hello" class="com.hello">
<result name="input">/MyJsp.jsp</result>
<result name="success">/MyJsp.jsp</result>
<interceptor-ref name="defaultStack" />
</action>
这样的条件下是能显示出来的,但是在经过了hello1.action后,就显示不出来了。
如有这么一些配置文件
<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里面显示出来???
当我访问hello.action 它产生了actionerror或者filederror之类的,然后跳转到hello1.action,这里怎么显示?<s:actionerror />
<s:fielderror cssStyle="color:red" />
我不知道我说明白我的意思了没