HP Integrity NonStop J-Series User Manual
Page 276

2.
In the File name field, enter faces-config.xml and select
SkinSelector/WebContent/WEB-INF as the parent folder.
shows the New File dialog box.
Figure 88 New File Dialog Box
The faces-config.xml file is created.
NOTE:
By default, XML files open in the XML Editor. The XML Editor has two views:
Design and Source view. Select the Source view.
2.
Add the following XML content in the faces-config.xml file to describe the navigation
model of the application:
<?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>
<managed-bean>
<managed-bean-name>resumeBean</managed-bean-name>
<managed-bean-class>coreservlets.ResumeBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
<navigation-rule>
<from-view-id>/customize.jsp</from-view-id>
<navigation-case>
<from-outcome>same-color</from-outcome>
<to-view-id>/WEB-INF/results/same-color.jsp</to-view-id>
276 Getting Started with MyFaces