Reputation: 5183
How to find the Struts version being used in a Web Application project in Eclipse?
My struts-config.xml says
<!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts
Configuration 1.2//EN"
"http://struts.apache.org/dtds/struts-config_1_2.dtd">
Thanks.
Upvotes: 29
Views: 79448
Reputation: 101
On a Windows system:
Some additional release info:
Upvotes: 5
Reputation: 31
Dont refer to the Manifest-version. instead you refer to the "Specification-Version"
Eg: Specification-Version: 1.2.4
That means the struts verison is 1.2.4
Upvotes: 3
Reputation: 129
We can find out the struts version by observing the doctype of the Struts-config file. For Example if your struts config file contains the below DTD then we can say that it is Struts 1.1 version.
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/**struts-config_1_1.dtd**">
Upvotes: 11
Reputation: 4209
Open struts jar and read version in MANIFEST file, inside META-INF folder.
Upvotes: 25