<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">

<faces-config>    

   

    <navigation-rule>

        <from-view-id>/jsf/simple.jsp</from-view-id>

        <navigation-case>

            <from-outcome>success</from-outcome>

            <to-view-id>/jsf/simple.jsp</to-view-id>

        </navigation-case>

        <navigation-case>

            <from-outcome>home</from-outcome>

            <to-view-id>/index.jsp</to-view-id>

        </navigation-case>

    </navigation-rule>

 

    <managed-bean>

        <description>Bean used to handle all user operations for the simple.jsp</description>

        <managed-bean-name>SimpleManagedBean</managed-bean-name>

        <managed-bean-class>com.ebpm.webdemo.jsf.SimpleManagedBean</managed-bean-class>

        <managed-bean-scope>request</managed-bean-scope>

    </managed-bean>

 

</faces-config>