檢視JSP和Servlet版本+ 如何檢視JSP和Servlet版本
阿新 • • 發佈:2018-12-29
如何檢視JSP和Servlet版本
找到jsp-api.jar和servlet-api.jar ,分別開啟META-INF下的MAINMEFT.MF檔案,檢視對應的版本。
例:
JSP版本:
Manifest-Version: 1.0 Ant-Version: Apache Ant 1.8.0 Created-By: 1.6.0_27-b07 (Sun Microsystems Inc.) X-Compile-Source-JDK: 1.6 X-Compile-Target-JDK: 1.6 Name: javax/servlet/jsp/ Specification-Title: Java API for JavaServer Pages Specification-Version: 2.2
找到jsp-api.jar和servlet-api.jar ,分別開啟META-INF下的MAINMEFT.MF檔案,檢視對應的版本。
例:
JSP版本:
Manifest-Version: 1.0 Ant-Version: Apache Ant 1.8.0 Created-By: 1.6.0_27-b07 (Sun Microsystems Inc.) X-Compile-Source-JDK: 1.6 X-Compile-Target-JDK: 1.6 Name: javax/servlet/jsp/ Specification-Title: Java API for JavaServer Pages Specification-Version: 2.2 Specification-Vendor: Sun Microsystems, Inc. Implementation-Title: javax.servlet.jsp Implementation-Version: 2.2.FR Implementation-Vendor: Apache Software Foundation Servlet版本: Manifest-Version: 1.0 Ant-Version: Apache Ant 1.8.0 Created-By: 1.6.0_27-b07 (Sun Microsystems Inc.) X-Compile-Source-JDK: 1.6 X-Compile-Target-JDK: 1.6 Name: javax/servlet/ Specification-Title: Java API for Servlets Specification-Version: 3.0 Specification-Vendor: Sun Microsystems, Inc. Implementation-Title: javax.servlet Implementation-Version: 3.0.FR Implementation-Vendor: Apache Software Foundation