-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Struts converters initialization to prevent GC issues
Bind custom converters to the ServletContext to ensure they are not garbage collected when "convertNull" is enabled. This includes handling null-safe conversions for types like BigDecimal, Boolean, and Integer. Also, deregisters and re-registers default converters accordingly.
- Loading branch information
1 parent
d5696a5
commit 617b428
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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