JSTL (Java standard Taglib langage):
As long as you use the standard tag library's functions and tags, you can run on any server that supports Java EE rules without modifying the code. Conversely, it is a nonstandard tag library.
JSTL core tag (core tag):
<c:out> output content to the browser. (Note its EscapeXML property, that is, whether to escape the content.) If it is a JS code, do not escape)
Example: <%
Pagecontext.setattribute ("osc", "<script>window.alert (' This is the sweet potato site ') </script> ");
%>
<c:out value= "${sal}" escapexml= "true"/>
<c:set> typically used to set the properties of a domain object or map object, which can be associated with the use of setattribute ()
<c:remove> Delete a property in a domain
<c:catch> Catching exceptions
<c:if test= "" > equivalent to If...then ...
<c:choose> and <c:when> If ... else if... Esle If ... else
<c:forEach> for Iteration
<c:url> and <c:p Aram > <c:pAram> add parameter to Yrl address
Example:
Http://localhost:808/servlet/MyServlet?name = "Open source China"
<c:param name= "name" value= "open source China"/>
<c:redirect> Redirect, only for use in this project. cannot be directed to another project
<jsp:forward> Forwarding (Note: This is JSP tags, mentioned in the previous redirect, here to give forwarding tags )
Knowledge of Jstl Tag Library