Performance issues
Solution:
1. We can add add maven dependent standard.jar
andjstl.jar
<!-- https://mvnrepository.com/artifact/taglibs/standard -->
<!--tarlib指令所需依赖-->
<dependency>
<groupId>taglibs</groupId>
<artifactId>standard</artifactId>
<version>1.1.2</version>
</dependency>
<!-- https://mvnrepository.com/artifact/javax.servlet/jstl -->
<!--jstl标签库所需依赖-->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>1.2</version>
</dependency>
Generally not introduce these two libraries in the preparation of the code should be given it, which is used in the jsp head tarlib
introduced jstl
it will be smart when IDE tag library marked red. If none of the above situation it is very likely that the second case.
使用了Maven项目自动生成的web.xml中的内容
。
We can solve the problem by modifying the contents in web.xml, web.xml must be in the following format.
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
/*配置信息*/
</web-app>
After editing project is started again, you can use el表达式
the.