• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

version of struts

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Is there any way to find out the version of struts, the application I am working on i.e 1.0 or 1.1 or 1.2?

Thanks
 
Ranch Hand
Posts: 4864
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The latest version of struts (1.3.5) is the easiest to tell, because finally they started putting the version number as part of the jar file names.

With the earlier versions, it's a bit harder. The best way I know of to tell is to download a specific version of Struts and compare the last-modified date of the struts.jar file in that version with the last-modified date of the one you're using.

Here are some of the dates I'm aware of:

1.1 = 6/29/2003
1.2.9 = 3/9/2006
 
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Another possible solution is to open the struts.jar file using a program like WinZip and view the MANIFEST.MF file. I took a look at a 1.1.? version and I see this information:


- Brent
 
David Dhune
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Got it! It is 1.1

Thanks Merrill and Brent.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Brent!

I learned something new today. I never thought to look in the MANIFEST.MF file for the version. It's good to know that there's an easier way than comparing dates on jar files.
 
reply
    Bookmark Topic Watch Topic
  • New Topic