User Manual

<from-outcome>home</from-outcome>
<to-view-id>/pages/welcome.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>back</from-outcome>
<to-view-id>/pages/insert.jsp</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>
Adding Dependency JAR Files
Download the following JAR files from http://archive.apache.org/dist/commons/:
commons-el.jar
commons-fileupload-1.0.jar
commons-validator-1.3.1.jar
tomahawk-1.1.8.jar
NOTE: If you have already downloaded and installed these JAR files, you need not download
them again.
Download and extract the zip files of the above-mentioned JAR files to a location on your Windows
system. Assume this location to be <MyFaces Dependencies>.
To incorporate the features of MyFaces in the EmpInfo application, the following JAR files, other
than the ones added while developing EmpInfo application, must be added in the EmpInfo project
library path:
Table 14 Dependency JAR Files
Source LocationDependency JAR Files
<MyFaces Home>\libcommons-beanutils-1.7.0.jar
<MyFaces Home>\libcommons-codec-1.3.jar
<MyFaces Home>\libcommons-digester-1.8.jar
<MyFaces Home>\libcommons-discovery-0.4.jar
<MyFaces Dependencies>\commons-el-1.0commons-el.jar
<MyFaces Dependencies>\
commons-fileupload-1.0
commons-fileupload-1.0.jar
<MyFaces Dependencies>\
commons-validator-1.3.1
commons-validator-1.3.1.jar
<Spring Home>\lib\log4jlog4j-1.2.15.jar
<MyFaces Home>\libmyfaces-api-1.2.5.jar
<MyFaces Home>\libmyfaces-impl-1.2.5.jar
<MyFaces Dependencies>\tomahawk-1.1.8\libtomahawk-1.1.8.jar
To add these dependency JAR files in the project library path and to resolve the J2EE module
dependency on these JAR files, follow the instructions as explained in the Adding Dependency
JAR Files in the Project Library Path section in the Getting Started with Spring chapter.
The EmpInfo application is now modified to integrate MyFaces into a Spring application.
Example of Integrating MyFaces into Spring 443