<action name="user" class="com.test.UserAction" method="add"> <result name="success" type="dispatcher"> <param name="location">/form.jsp</param> </result> <result name="invalid.token" type="dispatcher"> <param name="location">/form.jsp</param> </result>
<interceptor-ref name="defaultStack"/> </action>
|