Tag include

Load the response from a dynamic application request and make it available as a bean.

Perform an internal dispatch to the specified application component (or external URL) and make the response data from that request available as a bean of type String. This tag has a function similar to that of the standard <jsp:include> tag, except that the response data is stored in a page scope attribute instead of being written to the output stream. If the current request is part of a session, the generated request for the include will also include the session identifier (and thus be part of the same session).

The URL used to access the specified application component is calculated based on which of the following attributes you specify (you must specify exactly one of them):

Tag Information
Tag Classorg.apache.struts.taglib.bean.IncludeTag
TagExtraInfo Classorg.apache.struts.taglib.bean.IncludeTei
Body Contentempty
Display NameNone


Optional anchor tag ("#xxx") to be added to the generated hyperlink. Specify this value without any "#" character.


Logical name of a global ActionForward that contains the actual content-relative URI of the resource to be included.


Absolute URL (including the appropriate protocol prefix such as "http:") of the resource to be included. Because this URL could be external to the current web application, the session identifier will not be included in the request.


Specifies the name of the scripting variable (and associated page scope attribute) that will be made available with the value of the specified web application resource.


Module-relative URI (starting with a '/') of the web application resource to be included.


Set to true if you want the current transaction control token included in the generated URL for this include.

No Variables Defined.

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.