Import Label
Import tab for importing other pages
Property:
* URL: The path of the introduction page
* Context: Project name
* Var: Save the introduced page to a variable
* Scope: Save to a scope.
Code:
<c:import var= "I" url= "/jstl/foreach.jsp" context= "/day13" scope= "page" ></c:import> ${i}
URL Tags:
URI: Uniform Resource Identifier: http://www.baidu.com [email protected]
URL: Uniform Resource Locator: HTTP://WWW.BAIDU.COM/DAY13/JSTL/DEMO1.JSP
URL Tags: the primary role for URL rewriting. (You want to use the session when you disable cookies.)
Property:
* Value:url Path
* Context: Project name
* var: Save the path to a variable
* Scope: Save variables in a range
Code:
<c:url value= "/jstl/foreach.jsp" context= "/day13"/>: Disable cookies to see changes in the path.
REDIRECT Label
REDIRECT tags are used for redirection
Property:
* URL: Redirect Path
* Context: Project name
Param label
PARAM tags cannot be used alone, and they need to be used in combination with a path tag.
Property:
* Name: Parameter name
* Value: Values of parameters
Code:
<c:param name= "name" value= "AAA" ></c:param>--Accept Parameters ${param.name}
Jstl param URL Redirect Import