Rather than modifying RequestUtils why not configure Struts to use your own
MessageResources implementation:
http://jakarta.apache.org/struts/userGuide/configuration.html
1) Extend PropertyMessageResources setting the returnNull property to 'true'
in the constructor and overriding the getMessage(
From a document I wrote some time ago:
"Setting the null attribute to 'false' will display missing resource
values as ???key??? instead of displaying null. This string is easily
found during automated testing of your JSPs, making in-container unit
testing more complete."
Here's what you set to
2 matches
Mail list logo