In the course of Java Web Development, we may sometimes refer to the Jsp,servlet version that the environment supports. 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.
My version of the servlet is: manifest-version:1.0
Ant-version:apache Ant 1.6.5
CREATED-BY:1.4.2_12-B03 (Sun Microsystems Inc.)
name:javax/servlet/
Specification-title:java API for Servlets
specification-version:2.4
Specification-vendor:sun Microsystems, Inc.
Implementation-title:javax.servlet
Implementation-version:2.4.public_draft
Implementation-vendor:apache Software Foundation
My JSP version is: manifest-version:1.0
Ant-version:apache Ant 1.6.5
CREATED-BY:1.4.2_12-B03 (Sun Microsystems Inc.)
name:javax/servlet/jsp/
Specification-title:java API for JavaServer Pages
specification-version:2.0
Specification-vendor:sun Microsystems, Inc.
implementation-title:javax.servlet.jsp
Implementation-version:2.0.public_draft
Implementation-vendor:apache Software Foundation
Original address: http://blog.csdn.net/ma1kong/article/details/5118832
How to view JSP and servlet versions