Adding dependency jar files – HP Integrity NonStop J-Series User Manual

Page 443

Advertising
background image

<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 Location

Dependency JAR Files

<MyFaces Home>\lib

commons-beanutils-1.7.0.jar

<MyFaces Home>\lib

commons-codec-1.3.jar

<MyFaces Home>\lib

commons-digester-1.8.jar

<MyFaces Home>\lib

commons-discovery-0.4.jar

<MyFaces Dependencies>\commons-el-1.0

commons-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\log4j

log4j-1.2.15.jar

<MyFaces Home>\lib

myfaces-api-1.2.5.jar

<MyFaces Home>\lib

myfaces-impl-1.2.5.jar

<MyFaces Dependencies>\tomahawk-1.1.8\lib

tomahawk-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

Advertising
This manual is related to the following products: