Ha ha. It is obvious that I have exposed the white, the following is my project in the problems encountered, and solutions, there is a framework for the integration of the configuration we use is ssm<spring SPRINGMVC mybatis>
The first question is here.
1). Using JSTL Core RT Library
The JSTL Core Library has two taglib pseudo directives, in which the RT library relies on the JSP's traditional request-time attribute value, rather than relying on El to implement it (called the El Library. JSP2.0 will support EL)
JSP in the use of <%@ taglib uri=http://java.sun.com/jstl/core prefix= "C"%> in the 2.3 version can be, in 2.4 is not, this is incompatible version, The version of the servlet will be introduced later.
As long as the
Copy code code as follows: <%@ taglib uri= "Http://java.sun.com/jstl/core" prefix= "C"%>
To
Copy code code as follows: <%@ taglib uri=http://java.sun.com/jstl/core_rt prefix= "C"%>
2): If you want to use jstl1.1 (recommended) Then follow the changes, very simple.
Jstl There are 1.0 and 1.1 differences in the problem, with El Recommendations need to be in the 1.1 version,
Using jstl1.1 you only need to add
1.0 is for
Copy code code as follows: <%@ taglib uri= "Http://java.sun.com/jstl/core" prefix= "C"%>
Into:
Copy code code as follows: <%@ taglib uri= "Http://java.sun.com/jsp/jstl/core" prefix= "C"%>