You
can edit JSP fragment files that you created with the New Web Page wizard.
A page fragment is a partial document that lets you include part of a page
from another file (similar to an SSI include or a JSP include) in a dynamic
Web project.
Page fragment files that are created with the New JSP file or
New Faces JSP file wizard have a .jspf or .jsf extension.
To edit a
page fragment:
In the Project Explorer view, double-click the page fragment file
(.jspf or .jsf) to open it in Page Designer.
Add elements to the page fragment in the Design page. For example,
you can add images, or you can drag and drop components from the Palette view
or the Snippets view to the page fragment. You can also edit the page fragment
in the Source page.
You can use the Properties view to edit attributes of the page
fragment and its elements.
You can also use the Styles view to edit the style of the fragment.
Note: If you insert a style sheet, the page fragment is converted to
a normal page with <html>, <head> and <body> tags.