Determined using Servlet / JSP version, see the beginning of the web.xml, if there is the following, that is a Servlet 2.4 / JSP 2.0.
1. <Web-app version = "2.4"
2. Xmlns = "http://java.sun.com/xml/ns/j2ee"
3. Xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance"
4. Xsi: schemaLocation = "http://java.sun.com/xml/ns/j2ee
5. Http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd ">
If you have the following that is a Servlet 2.3 / JSP 1.2.
1.2. "- / / Sun Microsystems, Inc. / / DTD Web Application 2.3 / / EN"
By default, Servlet 2.3 / JSP 1.2 does not support EL expressions, and Servlet 2.4 / JSP 2.0 support.
If it is in the Servlet 2.3 / JSP 1.2, will add the following JSP page at the beginning of a code.
1. <% @ Page isELIgnored = "false"%>
If it is in the Servlet 2.4 / JSP 2.0, the code checks whether the above sentence into isELIgnored set of true, there are in the web.xml, whether jsp-config tag inside jsp-property-group labels inside the el - ignored set of true.
The ultimate solution is that, in MyEclipse Zhongjian webproject /, the use of j2ee 1.4 Selected jstl increased to 1.1
If you are using j2ee 1.5 release system, jstl is impossible to identify, to re-release to the release of the lib in the web system. If it is to use struts, or struts 2 when the label or when jsf, it can use j2ee 5.