有个WEB工程用struts1写的,今天有人问是1.几写的,还真不知道,怎么看?

解决方案 »

  1.   

    查看 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.   


    那里面就两行
    Manifest-Version: 1.0
    Class-Path: 
    还有方法吗
      

  3.   

    查看下lib下导入的jar包是什么版本不就知道了么。。