- weishuwei
- 等级:
- 性别:
- 文章: 50
- 积分: 114
- 来自: 上海
|
xml 代码
- <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd">
- <struts>
-
- <include file="struts-default.xml" />
-
- <package name="default" extends="struts-default">
-
-
- <result-types>
- <result-type name="freemarker" class="org.apache.struts2.views.freemarker.FreemarkerResult" default="true" />
- </result-types>
-
-
- <action name="login" class="com.opensymphony.xwork2.ActionSupport">
-
- <result>/Login.ftl</result>
- </action>
- <action name="userInput" class="pro.action.app.UserRegisterAction">
- <interceptor-ref name="createSession">
-
-
- </interceptor-ref>
- <interceptor-ref name="token">
- <param name="excludeMethods">input,back,cancel</param>
- </interceptor-ref>
- <interceptor-ref name="model-driven" />
- <interceptor-ref name="validationWorkflowStack">
-
- <param name="validation.excludeMethods">input,back,cancel</param>
- <param name="workflow.excludeMethods">input,back,cancel</param>
- </interceptor-ref>
- <result name="invalid.token">/doubleSubmit.html</result>
- <result name="input">/app/UserRegister.ftl</result>
- <result name="login">/Login.ftl</result>
- <result name="success">/Login.ftl</result>
- </action>
-
- </package>
- <include file="cfg/struts/struts-filedownload.xml"></include>
- </struts>
声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
|
返回顶楼 |
|
|