| C:\russ\dev\JSFAction\web\WEB-INF\faces-config.xml |
<?xml version='1.0' encoding='UTF-8'?>
<faces-config version="1.2"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
<managed-bean>
<description> The one and only HelloBean </description>
<managed-bean-name> helloBean </managed-bean-name>
<managed-bean-class> org.jia.hello.HelloBean </managed-bean-class>
<managed-bean-scope> session </managed-bean-scope>
</managed-bean>
<navigation-rule>
<description> Navigation from the hello page </description>
<from-view-id> /hello.jsp </from-view-id>
<navigation-case>
<from-outcome> success </from-outcome>
<to-view-id> /goodbye </to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>