Home > Guides > Tag Developers Guide > Struts Tags > Tag Reference > Generic Tag Reference > include |
Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works.
Include a servlet's output (result of servlet or a JSP page).
Note: Any additional params supplied to the included page are not accessible within the rendered page through the <s:property...> tag since no valuestack will be created. You can, however, access them in a servlet via the HttpServletRequest object or from a JSP page via a scriptlet.
How To access parameters
Parameters are passed as request parameters, so use the ${param.ParamName} notation to access them. Do not use the property tag to access parameters in included files.
Dynamic Attributes Allowed:false | |||||
Name | Required | Default | Evaluated | Type | Description |
---|---|---|---|---|---|
value | true | false | String | The jsp/servlet output to include |