如下:
<action name="login" class="test.LoginAction" >
<result name="input">/index.jsp</result>
<result name="error">/WEB-INF/error.jsp</result>
<result name="success">/WEB-INF/welcome.jsp</result>
</action>
当validate()函数没有通过的话
会是input对应的结果试图。