beautypg.com

Modifying the web.xml file, Modifying the, Web.xml – HP Integrity NonStop H-Series User Manual

Page 259: File

background image

The New JavaServer Page: JSP Template dialog box appears.

4.

Select New JSP File (html) and click Finish.

The template for the

index.jsp

file is generated.

Figure 13-9

shows the New JavaServer Page: JSP Template dialog box.

Figure 13-9 New JavaServer Page: JSP Template Dialog Box

5.

Delete the default code present in the

index.jsp

file.

6.

Add a redirection tag for faces-enabled page

customize.jsp.

NOTE:

The

Creating the

customize.jsp

File

section describes how to create the

customize.jsp

file.

The

index.jsp

file appears as follows:

<% response.sendRedirect("customize.faces"); %>

Modifying the

web.xml

File

To modify the

web.xml

file, you must set the dispatcher servlet and its mapping, using the

following steps:

1.

Double-click the

SkinSelector/WebContent/WEB-INF/web.xml

file in the Project

Explorer frame to open it.

NOTE:

By default, XML files open in the XML Editor. The XML Editor has two views:

Design and Source view. Select the Source view.

The template for the default

web.xml

file generated during project creation is:

Overview of SkinSelector

259

This manual is related to the following products: