More About Apache Struts

Apache Struts creates and maintains the world's most popular framework for building Java web applications. The Apache Struts website is your first, best guide to the Struts universe. This page provides links to other resources that will help you learn more about Apache Struts.


Use global result handlers for common results

Often, actions will share a number of common results. Rather than configure redundant result elements for each action, share common results through a global result handlers.

<struts>
<global-results>
  <result name="error">
    /common/Error.jsp
  </result>
  <result name="invalid.token">
    /common/Error.jsp
  
  <result name="login" type="redirectAction">
    Login_input
  </result>
</global-results>
  <!-- ... -->
</struts>

Using global result handlers ensures that common results will be handled consistently, while reducing redundant code. Global results increase coupling, but any action that needs to handle a result differently can provide a local handler.


Expert. Training.
Learn to use Apache Struts2 -- the elegant, extensible web framework
for enterprise-grade Java applications.

See also ...


Struts Tips


Struts Central

  • Struts Central is the "unabridged" Struts resource directory. Strus Central collects and organizes links to all known Apache Struts resources, including articles, books, and third-party extensions. New postings to Struts Central are announced on Planet Struts.

Planet Struts

  • Planet Struts is your source for news and announcements about Apache Struts. The Planet Struts News blog aggregates announcements about Struts from a variety of sources. If it happens, and it's about Struts, you'll find it on Planet Struts. Then, to learn more about Struts as it happens, Planet Struts also aggregates the Struts Committer blogs. To keep abreast of all things Struts, put Planet Struts at the top of your watch list.

Struts University

  • Struts University The Struts University site hosts open source training materials for the world's most popular open source web application framework, Apache Struts.


Struts Mentor

  • Struts Mentor delivers expert onsite training to teams using the Apache Struts2 web application framework.

Apache Bookstore

  • The Apache Bookstore lists books for several Apache projects, including Struts. All royalities earned by the site are donated to the Apache Software Foundation.

Macaroni

  • Ted Husted's blog, Macaroni, summarizes goings-on in Apache iBATIS, Apache Roller, and Apache Struts, and occasionally ruminates on the Apache Way.