Specify a page template

Use this page of the wizard, Specify a Page Template, to select the page template that you want to apply to the JSP files generated by the wizard.

Option Description
Page Template Type

Specify the page template that you want to use.

Sample Page Template indicates that the template file that you select is among the sample page templates included in the gallery in the Web project.

User-Defined Page Template indicates that the template file that you select is one of the template files that you created.

Page Template File

Location indicates the folder containing the template file. For sample page templates, this field is blank because the sample templates are contained within the gallery in the Web project. Any sample template that you select, and any associated files, such as GIF files and CSS files, are copied into the theme folder in your Web project.

For user-defined templates this is the WebContent folder of your Web project.

You can use the Thumbnail area to select the template you want to use, or select Browse and then Import to select a page template from the file system.

File name displays the file name of the template that you select.

Thumbnail

Displays a representation of the template files and their file names. You can select a template by clicking the template that you want to use. When you select a template, the Location and File name fields display the location and file name of the template you selected.

If you double-click the page template in the Thumbnail area, an enlarged version of the page template opens in a new window.