• Post Reply Bookmark Topic Watch 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To my knowledge, there is no page listing the minimum set of dependencies for Struts 2. The easiest way to obtain the dependencies is to use Maven or Ivy (if you are using Ant) in your build script.

If you are not using either of those build tools, or want to manage your project's dependencies manually, the minimum set of dependencies is available as a separate download. Just click on the "Essential Dependencies Only" link on the Struts Download Page

The minimum set of dependencies for Struts 2.5.26 are:

Now, there will come a time when the base Struts functionality is not enough any more and one will want to introduce other technologies, such as Spring or Sitemesh. Again, if using Maven, there are archetypes provided for some common application types.

If one is manually maintaining their project's dependencies, it is possible to obtain some technologies, like Spring, from the distribution {struts version}/lib/ directory. Since it will be necessary to obtain those dependencies and make sure they play well with Struts, I recommend starting here.

For example, Struts has a Spring plugin, but it is based on an old version of Spring (4.3.26, as opposed to the current 5.3.3). If one wants to try to update a library that is packaged with Struts, I would recommend that one use the supported version first. Make sure your application works with that, then try introducing a newer version. It would also be a good idea to check the Struts 2 Mailing Lists to see if anyone has tried a newer version of that library, and, if so, they encountered any issues.
My pie came with a little toothpic holding up this tiny ad:
the value of filler advertising in 2020
    Bookmark Topic Watch Topic
  • New Topic