<!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>
