| C:\russ\dev\CoreJSF\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-app_2_5.xsd">
<navigation-rule>
<from-view-id> /index.jsp </from-view-id>
<navigation-case>
<from-outcome> login </from-outcome>
<to-view-id> /welcome.jsp </to-view-id>
</navigation-case>
</navigation-rule>
<managed-bean>
<managed-bean-name> user </managed-bean-name>
<managed-bean-class>com.corejsf.UserBean </managed-bean-class>
<managed-bean-scope>session </managed-bean-scope>
</managed-bean>
</faces-config>