TagLib: Util

include

Description

This tag will perform an "include" operation, similar to <jsp:include>, but will construct the JSP resource name in one of two ways:

  1. The path attribute may specify a path to be used verbatim during the construction of the URL. Client data specific rewriting will not be applied to this value.
  2. The file and comp attributes may together specify a JSP resource that will be resolved using client data driven file lookup rules.

Tag Body

Empty

Restrictions

Either path or, file and comp must be specified.

Attributes

This tag has the following attributes:

Attribute

Description

Req'd?

file The file for which to perform the lookup, and thence to include. No
comp The component that the target file belongs to, e.g., "mail", "cal", or "ab". No
path The path component of the URL. If path is specified, neither file nor comp should be specified. No
     

Properties

This tag provides the following bean properties:

Property

Description

Access

n/a n/a n/a
     

Example(s)

<%-- include tag example --%>

<util:include file="inbox-common.jsp" comp="mail"/>