Tag Name: <a2:include />

Description

Include a servlet's output (result of servlet or a JSP page)

Include a servlet's output (result of servlet or a JSP page).

Examples

  <-- One: --> <a:include value="myJsp.jsp" /> <-- Two: --> <a:include value="myJsp.jsp"> <a:param name="param1" value="value2" /> <a:param name="param2" value="value2" /> </a:include> <-- Three: --> <a:include value="myJsp.jsp"> <a:param name="param1">value1</a:param> <a:param name="param2">value2<a:param> </a:include>   Example one - do an include myJsp.jsp page Example two - do an include to myJsp.jsp page with parameters param1=value1 and param2=value2 Example three - do an include to myJsp.jsp page with parameters param1=value1 and param2=value2  

Attributes

Name

Required

Default

Type

Description

value true   String The jsp/servlet output to include
id false   Object/String id for referencing element. For UI and form tags it will be used as HTML id attribute

Back to Taglib Index