fp024 commented on PR #535:
URL: https://github.com/apache/struts-examples/pull/535#issuecomment-4895038154
I added and shared this test case specifically because it fails on Struts
7.2.1 while passing completely on Struts 7.1.1.
On Struts 7.2.1, the following configuration does not take effect, and the
system is seemingly forced to use only the default `StrutsJSONWriter` instead
of our custom bean:
```xml
<bean type="org.apache.struts2.json.JSONWriter" name="flexJSONWriter"
class="org.demo.FlexJSONWriter"
scope="prototype"/>
<constant name="struts.json.writer" value="flexJSONWriter"/>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]