feat(action-extension): add example for global, package and action extensions (#555)

* docs(action-extension): add design and implementation plan

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(action-extension): add module with global, package and action extensions

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(action-extension): add pages and README showing generated URLs and rejection

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(action-extension): explain how generated URLs pick an extension

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
16 files changed
tree: 95063a1598a35071c0fb7eaf0897c173eac49d95
  1. .github/
  2. .mvn/
  3. action-chaining/
  4. action-extension/
  5. annotations/
  6. basic-struts/
  7. bean-validation/
  8. blank/
  9. coding-actions/
  10. control-tags/
  11. crud/
  12. debugging-struts/
  13. docs/
  14. dynamic-href/
  15. exception-handling/
  16. exclude-parameters/
  17. expression-cache/
  18. file-upload/
  19. form-processing/
  20. form-tags/
  21. form-validation/
  22. form-xml-validation/
  23. helloworld/
  24. http-session/
  25. interceptors/
  26. jasperreports/
  27. jfreechart/
  28. json/
  29. json-customize/
  30. mailreader2/
  31. message-resource/
  32. message-store/
  33. preparable-interface/
  34. quarkus/
  35. rest-angular/
  36. restful2actionmapper/
  37. shiro-basic/
  38. sitemesh3/
  39. spring-struts/
  40. src/
  41. struts-parameter/
  42. text-provider/
  43. themes/
  44. themes-override/
  45. tiles/
  46. type-conversion/
  47. unit-testing/
  48. unknown-handler/
  49. using-tags/
  50. validation-messages/
  51. wildcard-method-selection/
  52. wildcard-regex/
  53. .asf.yaml
  54. .gitignore
  55. CLAUDE.md
  56. mvnw
  57. mvnw.cmd
  58. pom.xml
  59. README.md
README.md

Struts Examples

Build Status @ ASF Build Status @ GH Actions License

This Maven multi-module project contains all the Apache Struts example applications that are part of the Apache Struts Getting Started tutorials at https://struts.apache.org.

To build all the example applications run the Maven command:

mvn -e clean package

In the project's root folder, Maven will build each module and create a .war file in the target sub-folder of each module.

You can then copy the .war files to your Servlet container (e.g. Tomcat, Jetty, GlassFish, etc).

Some modules have a README file with instructions and the URL to view that application.

Older versions

The examples use the latest Struts version. For older versions, see the Releases page.