How to view JSP and servlet versions

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.