zoukankan      html  css  js  c++  java
  • 如何查看JSP和Servlet版本

    在java web开发的过程中,有时在资料上可能会提到环境所要支持的JSP,Servlet版本。如果版本低就可能出现测试错误。

    方法:打开tomcat的commonlib 目录下,有两个JAR文件: jsp-api.jar servlet-api.jar 。如果没有,那可能是你没有添加进来。解压这两个文件,用记事本分别打开META-INF下的MAINMEFT.MF文件。

    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

  • 相关阅读:
    1.2变量声明的意义
    1.1两个char类型数据相加后,转化为int类型
    欢迎使用CSDN-markdown编辑器
    python-布尔表达式
    程序基本机构
    Python math库和random库
    Python中类型的概念(一)
    Python turtle库的应用——蛇
    Python语法元素分析
    程序设计基本方法
  • 原文地址:https://www.cnblogs.com/xunyi/p/7500538.html
Copyright © 2011-2022 走看看