blob: b36210400f7b1d5bebe8021caf502004e6552c7a [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<constant name="struts.devMode" value="true" />
<package name="default" extends="jsr303">
<default-interceptor-ref name="jsr303ValidationStack"/>
<!-- 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="edit" class="org.apache.struts.edit.action.EditAction" method="input">
<result name="input">/edit.jsp</result>
</action>
<action name="save" class="org.apache.struts.edit.action.EditAction" method="execute">
<result name="input">/edit.jsp</result>
<result name="success">/thankyou.jsp</result>
</action>
</package>
</struts>