Skip to content

Refactor(some examples): Update for Struts 7 compatibility#447

Merged
lukaszlenart merged 15 commits intoapache:mainfrom
fp024:dev-2025-04-17-a
Apr 17, 2025
Merged

Refactor(some examples): Update for Struts 7 compatibility#447
lukaszlenart merged 15 commits intoapache:mainfrom
fp024:dev-2025-04-17-a

Conversation

@fp024
Copy link
Contributor

@fp024 fp024 commented Apr 17, 2025

Hello.

The following examples have been updated for Struts 7 compatibility:

  • exclude-parameters
  • form-tags
  • form-validation
  • form-xml-validation
  • helloworld
  • http-session
  • interceptors
  • message-resource
  • preparable-interface
  • form-processing
  • spring-struts
  • theme
  • unit-testing
  • wildcard-method-selection

Thanks 👍

fp024 added 15 commits April 17, 2025 15:31
- Apply the `@StrutsParameter` annotation to the setter or getter of the Actions.
- Update `web.xml` to use Jakarta EE 10 namespace and Servlet 6.0 schema.
- Fix direct JSP access issues for `register.jsp`
- Added `@StrutsParameter` annotations to action parameter setter or getter.
- Added `OGNL allowlist` to comply with stricter security policies.
- Updated `web.xml` to schema version 6.0.
- Changed encoding of JSP and `global_es.properties` files to UTF-8.
- Added `@StrutsParameter` annotations to action parameter setter or getter.
- Added `OGNL allowlist` to comply with stricter security policies.
- Updated `web.xml` to schema version 6.0.
- Removed cancel2() method to prevent unnecessary value binding to personBean.age.
- Corrected namespace in form action tags for accuracy.
- Added @StrutsParameter annotations to action parameter methods.
- Implemented OGNL allowlist to comply with stricter security policies.
- Updated web.xml to schema version 6.0.
- Added `@StrutsParameter` annotations to action parameter setter or getter.
- Implement OGNL allowlist for stricter security compliance.
- Update web.xml to schema version 6.0.
- Change JSP file encoding to UTF-8.
- Rename FreeMarker template variable `parameters` to `attributes`.
- Add `@StrutsParameter` annotations to action parameter getter.
- Implement OGNL allowlist for stricter security compliance.
- Update `web.xml` to schema version 6.0.
- Change JSP file encoding to UTF-8.
- 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`.
- Added `@StrutsParameter` annotations to action parameter setter or getter.
- Implement OGNL allowlist for stricter security compliance.
- Update `web.xml` to schema version 6.0.
- Changed JSP file encoding to `UTF-8`.
@lukaszlenart lukaszlenart merged commit df87211 into apache:main Apr 17, 2025
2 checks passed
@lukaszlenart
Copy link
Member

Thanks a lot!

@fp024 fp024 deleted the dev-2025-04-17-a branch April 17, 2025 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants