Check out all the known Struts 2 security vulnerabilities here. Once you decide to upgrade, you will need to consider what your current version is. If you go this route and are on a pre We decided to go directly to 2.
Make sure you consider the following when upgrading to Struts 2. Double check your Java version; you will need Java 7 or above. Struts 2 jars can be downloaded here. Make sure all the versions of struts match when you are updating. If you are making use of a struts2-spring plugin jar, make sure the version of that jar matches your Struts 2 jar. You can also check the version notes here to see an example of the maven dependency if you are using maven.
Dependencies can also be found here which include:. Another option is to go to a maven repository like this one and view any compile dependencies listed.
These will indicate the version required and will indicate if it is optional or not. The following items are no longer supported in Struts 2. Instead of using the filter-class of org. StrutsPrepareAndExecuteFilter, you should use org. As a result, your filter element should look like this. If you have a field name that starts with a single lowercase letter that is followed by an uppercase letter like:.
In Struts 2. Tiles2 is no longer in use, and Tiles3 no longer requires the tiles3-plugin, just the tiles-plugin.
Make sure the version of the struts2-tiles-plugin matches your struts version. It is available in a full distribution, or as separate library, source, example and documentation distributions. Struts 2.
If you are looking for other versions than above please check the Apache Archive site. Struts 1. Older versions of Struts are available from the Archive Site.
The framework has been designed to streamline the full development cycle, from building, to deploying, to maintaining applications over time. Please read the Version Notes to find more details about performed bug fixes and improvements.
The 2. Should any issues arise with your use of any version of the Struts framework, please post your comments to the user list, and, if appropriate, file a tracking ticket. Full releases for current version are listed at Download page. Support for a release is provided by project volunteers on the User mailing list. Additional free support is provided by many other volunteer subscribers to the list.
Issues with a release may be discussed on the list and reported through the issue tracker.
0コメント