Jsp param
Advertisements
Jsp param
<jsp:param> tag is used to represent parameter value during jsp forward or include action this should be the sub tag of <jsp:forward> or <jsp:include>.
When an include or forward element is invoked, the original request object is provided to the target page. If you wish to provide additional data to that page, you can append parameters to the request object by using the jsp:param element.
Syntax
<jsp:param name=" " value=" "/>
Example
<jsp:include page="contact.jsp"/> <jsp:param name="param1" value="value1"/> </jsp:include>
Example
<jsp:forward page="home.jsp"/> <jsp:param name="param1" value="value1"/> </jsp:forward>
Google Advertisment