<c:out>
<c:out value= "Java Project development"/>
<br/>
<c:out value= "<p> special characters </p>"/>
<c:out value= "<p> special characters, but escapexml=false</p>" escapexml= "false"/>
<c:set>
You can assign a property value to a domain where the Value property supports an El expression and can also assign a value to a JavaBean property in a domain object, both target and value support El expressions
<c:set target= "${requestscope.cust}" property= "id" value= "${param.id}" ></c:set>
<c:remove>
Removes the specified attribute from the specified domain object
<c:remove var= "Date" scope= "Session"/>
Process Control
<c:if>
There's no else, but it's OK to store the results for later use.
<c:set value= "var=" "age" scope = "Request"/>
<c:if test = "&{param.age>18}" var= "Isadult" scope= "Request"/>
Isadult: <c:out value= "${requestscope.isadult}"/> at this time the output is true
<c:choose><c:when><c:otherWise>
See http://www.cnblogs.com/wlc297984368/p/5432382.html
Iterative operations
<c:forEach>
See http://www.cnblogs.com/wlc297984368/p/5431638.html
${status.first} is not the first one
${status.last} is not the last one
${status.index} index starting from 0
${status.count} count starting from 1
<c:forToken>
Split () method similar to string
<c:set value= "A,B,S:F:G:G.D" var= "test" scope= "request" ></c:set>
<c:fortokens items= "${requestscope.test}" delims= "," var= "s" >&{s}<br>
</c:forTokens>
The output result is
A
B
S:f:g:g.d
<c:import>
Can contain any page to the current page
<c:import url= "http://www.baidu.com" ><c:import>
<c:redirect> page Redirection
<c:redirect url= "/test.jsp" ></c:redirect> slash represents the root of the current Web application (given to the servlet container parsing tomcat), and the browser parses the site root directory
<c:url>
Generates a URL address that encodes parameters for a GET request based on whether the cookie can be used intelligently for URL rewriting
<c:url value= "/test.jsp" var= "Testurl" >
<c:param name= "name" value= "WLC" ></c:param> transcoding if name's value is Chinese
Url:${testurl},
Result: URL:/VIP/INDEX.JSP;JSESSIONID=4F5003EEC6CCBCD87262E10B44ADEC52?NAME=WLC
Result: URL:/vip/index.jsp? Name=%e7%8e%8b%e8%bf%9e%e8%87%a3
JavaServer Pages Standard Tag library (jstl1.1) tag libraries (to be continued)