Directives and actions include directives
Syntax <% @include file= "login.jsp"%>//page contains login.jsp page
Include action syntax <jsp:include page= "url" flush=true|false%> default to False, indicating whether to read from buffer
The include directive and the include action distinguish the include directive contains the code, in the page in the code to parse the include action contains the result, directly in the page output results, do not need to parse the
<jsp:forward> action Syntax: <jsp:forward page= "url"/> is equivalent to Request.getrequestdispatcher ("login.jsp"). Forward ( request, response);
<jsp:param> action Syntax <jsp:param value= "parameter name" name= "argument value"/> often used with <jsp:forward> as its sub-label
<jsp:forward page= "date.jsp" >//Jump to date.jsp page and pass yuming this parameter
<jsp:param value= "www.baidu.com" name= "yuming"/>//you can either pass new parameters or modify parameters
</jsp:forward>
JSP directives and actions