Viewing Included Pages

The JSP Editor allows you to easily open pages that include other JSP pages or page fragments. The graphical view in the Design editor may show content that has been included into the current JSP page from another page. You can detect included content by its association with a jsp:include tag or the jsp include directive.

  1. Open a JSP page in the JSP Editor.
  2. In the Design editor, double-click the jsp:include tag to open the included JSP page.

    Include tags are displayed in the Design editor using the following icon:

Note: When opening a page this way the IDE will setup the proper context for the included page.
For example, references to CSS styles or tag libraries would be resolved properly even if they are declared or imported only in the including page.
This is different from opening an included page from the Project Explorer, where it has no context information.


Still need help? Post a question on the Workshop newsgroup.