mirror of
https://github.com/apache/struts.git
synced 2026-08-31 19:35:40 +00:00
0551c2f16e
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@454857 13f79535-47bb-0310-9956-ffa450edef68
39 lines
1.2 KiB
XML
39 lines
1.2 KiB
XML
<!DOCTYPE struts PUBLIC
|
|
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
|
|
"http://struts.apache.org/dtds/struts-2.0.dtd">
|
|
<struts>
|
|
<package name="jsf" extends="jsf-default" namespace="/jsf">
|
|
|
|
<result-types>
|
|
<result-type name="jsf" class="org.apache.struts2.jsf.FacesResult" />
|
|
</result-types>
|
|
|
|
<interceptors>
|
|
<interceptor-stack name="jsfFullStack">
|
|
<interceptor-ref name="params" />
|
|
<interceptor-ref name="basicStack"/>
|
|
<interceptor-ref name="jsfStack"/>
|
|
</interceptor-stack>
|
|
</interceptors>
|
|
|
|
<default-interceptor-ref name="jsfFullStack"/>
|
|
|
|
</package>
|
|
|
|
<package name="jsf.employee" extends="jsf" namespace="/jsf/employee">
|
|
|
|
<action name="list" class="org.apache.struts2.showcase.jsf.JsfEmployeeAction" method="list">
|
|
<result name="success" type="jsf" />
|
|
</action>
|
|
<action name="edit" class="org.apache.struts2.showcase.jsf.JsfEmployeeAction">
|
|
<result name="success" type="jsf" />
|
|
</action>
|
|
<action name="delete" class="org.apache.struts2.showcase.action.EmployeeAction" method="delete">
|
|
<result name="error" type="redirect">list.action</result>
|
|
<result type="redirect">list.action</result>
|
|
</action>
|
|
|
|
</package>
|
|
|
|
</struts>
|