Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris
  • 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.
Won't you please? Please won't you be my neighbor? - Fred Rogers. Tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic