blob: ff56b2eb35ea44d26cdaad40dc1a05feb06dcff4 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.5//EN"
"https://struts.apache.org/dtds/struts-2.5.dtd">
<struts>
<constant name="struts.devMode" value="true" />
<package name="basicstruts2" extends="struts-default" >
<!-- If no class attribute is specified the framework will assume success and
render the result index.jsp -->
<!-- If no name value for the result node is specified the success value is the default -->
<action name="index">
<result>/index.jsp</result>
</action>
<action name="register_input" class="org.apache.struts.register.action.Register" method="input">
<result name="input">register.jsp</result>
</action>
<!-- for timer interceptor see https://struts.apache.org/core-developers/timer-interceptor.html -->
<action name="register" class="org.apache.struts.register.action.Register" method="execute">
<interceptor-ref name="logger" />
<interceptor-ref name="defaultStack">
<param name="exception.logEnabled">true</param>
<param name="exception.logLevel">ERROR</param>
</interceptor-ref>
<result name="success">thankyou.jsp</result>
<result name="input">register.jsp</result>
</action>
</package>
</struts>