In the course of Java Web Development, it is sometimes possible to refer to the Jsp,servlet version that the environment supports for the data. Test errors may occur if version must not.
Method: Open the Common\lib directory for Tomcat, there are two jar files: Jsp-api.jar Servlet-api.jar. If not, it may be that you did not add it in. Unzip the two files and open the Mainmeft.mf file under Meta-inf with Notepad.
manifest-version:1.0
Ant-version:apache Ant 1.9.9
CREATED-BY:1.8.0_131-B11 (Oracle Corporation)
x-compile-source-jdk:1.8
x-compile-target-jdk:1.8
name:javax/servlet/jsp/
Specification-title:java API for JavaServer Pages
specification-version:2.3
Specification-vendor:sun Microsystems, Inc.
implementation-title:javax.servlet.jsp
implementation-version:2.3.fr
Implementation-vendor:apache Software Foundation
manifest-version:1.0
Ant-version:apache Ant 1.9.9
CREATED-BY:1.8.0_131-B11 (Oracle Corporation)
x-compile-source-jdk:1.8
x-compile-target-jdk:1.8
name:javax/servlet/
Specification-title:java API for Servlets
specification-version:4.0
Specification-vendor:sun Microsystems, Inc.
Implementation-title:javax.servlet
Implementation-version:4.0.edr-b01
Implementation-vendor:apache Software Foundation
How to view JSP and servlet versions