[url]http://www.jguru.com/faq/view.jsp?EID=993521[/url]
Answer
The easiest way I can think of it to unzip the jar
and look at the manifest.mf file.
The manifest should contain a line called Implementation Version. Here is my manifest.mf:
Manifest-Version: 1.0
Implementation-Version: 1.0.2
Specification-Title: Struts Framework
Specification-Version: 1.0
Implementation-Title: Struts Framework
Extension-Name: Struts Framework
Created-By: Ant 1.4.1
Implementation-Vendor-Id: org.apache
Implementation-Vendor: Apache Software Foundation
Specification-Vendor: Apache Software Foundation
So my version is 1.0.2
本文介绍了一种简单的方法来检查Struts框架的版本。通过解压jar文件并查看manifest.mf文件中的Implementation-Version行,可以确定Struts的具体版本号。
202

被折叠的 条评论
为什么被折叠?



