Refactor(unit-testing): Update for Struts 7 compatibility

- Modified access to `register.jsp` to go through the `registerForm` Action, as Struts form tags are used.
- Update `web.xml` to schema version 6.0.
- Change JSP file encoding to `UTF-8`.
5 files changed
tree: 7ac52bdd350dbae62fe16fe1f36adb24593547ab
  1. .github/
  2. .mvn/
  3. action-chaining/
  4. annotations/
  5. basic-struts/
  6. bean-validation/
  7. blank/
  8. coding-actions/
  9. control-tags/
  10. crud/
  11. debugging-struts/
  12. dynamic-href/
  13. exception-handling/
  14. exclude-parameters/
  15. expression-cache/
  16. file-upload/
  17. form-processing/
  18. form-tags/
  19. form-validation/
  20. form-xml-validation/
  21. helloworld/
  22. http-session/
  23. interceptors/
  24. jasperreports/
  25. jfreechart/
  26. json/
  27. json-customize/
  28. mailreader2/
  29. message-resource/
  30. message-store/
  31. preparable-interface/
  32. quarkus/
  33. rest-angular/
  34. restful2actionmapper/
  35. shiro-basic/
  36. sitemesh3/
  37. spring-struts/
  38. src/
  39. text-provider/
  40. themes/
  41. themes-override/
  42. tiles/
  43. type-conversion/
  44. unit-testing/
  45. unknown-handler/
  46. using-tags/
  47. validation-messages/
  48. wildcard-method-selection/
  49. wildcard-regex/
  50. .asf.yaml
  51. .gitignore
  52. mvnw
  53. mvnw.cmd
  54. pom.xml
  55. README.md
README.md

Struts Examples

Build Status @ ASF Build Status @ GH Actions License

This Maven multi-module project contains all the Struts 2 example applications that are part of the Getting Started Struts 2 tutorials at http://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).

There is a README file in each module with instructions and the URL to view that application.

Older versions

The examples are using the latest Struts version, if you are looking for older versions please take a look on the Releases page.