Refactor(some examples): Update for Struts 7 compatibility#447
Merged
lukaszlenart merged 15 commits intoapache:mainfrom Apr 17, 2025
Merged
Refactor(some examples): Update for Struts 7 compatibility#447lukaszlenart merged 15 commits intoapache:mainfrom
lukaszlenart merged 15 commits intoapache:mainfrom
Conversation
- 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`
…d update web.xml to schema 6.0
- 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`.
Member
|
Thanks a lot! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hello.
The following examples have been updated for Struts 7 compatibility:
Thanks 👍