beautypg.com

Adding dependency jar files to the project library – HP Integrity NonStop J-Series User Manual

Page 160

background image

SkinSelector

index.html
index.htm
index.jsp
default.html
default.htm
default.jsp

2.

Set the index.jsp file as the <welcome-file> by deleting other files from the

.

3.

Set the class for the Faces Controller servlet of the SkinSelector application by adding the
following information in the tag:


Faces Servlet
javax.faces.webapp.FacesServlet
1

4.

Specify the URL pattern as *.faces in the tag as shown below:


Faces Servlet
*.faces

NOTE:

This servlet definition maps to the URL patterns. Any URL with the .faces extension

will be routed to the Faces (Controller servlet).

After modification, the web.xml file appears as:


xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">



Faces Servlet

javax.faces.webapp.FacesServlet

1


Faces Servlet
*.faces


index.jsp

Adding Dependency JAR Files to the Project Library

Apart from the core MyFaces runtime JAR files, SkinSelector requires some dependency JAR files.
Download the following distributions of the dependency JAR files on your Windows system:

160 MyFaces Framework

This manual is related to the following products: