项目中SSH小版本号查看方法

本文介绍了如何查看项目中Struts、Spring及Hibernate三个框架的具体版本信息。通过检查对应的jar文件中的META-INFMANIFEST.MF文件,可以找到Implementation-Version字段,从而确定所使用的框架版本。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

前几天面试,被一娘们小瞧了一把,问到项目开发中SSH的小版本号。回答不上来,特转一篇小文。

【转】查看项目中的struts、spring、hibernate 版本的方法

   这是从别人那转来的。http://blog.sina.com.cn/s/blog_7725bc930100sk9c.html

如下:

    1. struts的版本信息

查看 struts.jar\META-INF\MANIFEST.MF
再查看 Implementation-Version
看后面的数字..

Manifest-Version: 1.0
Specification-Title: Struts Framework
Class-Path:  commons-beanutils.jar commons-collections.jar commons-dig
 ester.jar commons-fileupload.jar commons-logging.jar commons-validato
 r.jar jakarta-oro.jar
Created-By: 1.3.1_04-b02 (Sun Microsystems Inc.)
Ant-Version: Apache Ant 1.6.1
Implementation-Title: Struts Framework
Specification-Version: 1.2.7
Specification-Vendor: The Apache Software Foundation
Implementation-Vendor-Id: org.apache
Extension-Name: Struts Framework
Implementation-Version: 1.2.7
Implementation-Vendor: The Apache Software Foundation


2.Spring的版本信息
查看 Spring.jar\META-INF\MANIFEST.MF
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.5.0_12-b04 (Sun Microsystems Inc.)
Implementation-Title: Spring Framework
Implementation-Version: 2.0.8
Spring-Version: 2.0.8
Premain-Class: org.springframework.instrument.InstrumentationSavingAgent


3.hibernate3的版本信息
查看 hibernate3.jar\META-INF\MANIFEST.MF
Manifest-Version: 1.0
Created-By: 1.4.2_11-b06 (Sun Microsystems Inc.)
Ant-Version: Apache Ant 1.6.5
Implementation-Title: Hibernate3
Hibernate-Version: 3.2.3.ga
Implementation-Version: 3.2.3.ga
Implementation-Vendor: hibernate.org

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值