I upgraded one of our in-house applications as part of regular maintenance. As part of this I upgraded the DWR version from 3.0.0-RC2-final to 3.0.2-RELEASE, and after doing this I found the application’s DWR calls were no longer working. It turns out that the forwardToString() method in the default web context changed from using HttpServletRequest FORWARD to using INCLUDE instead. As a result the Struts2 filter wasn’t getting triggered, because the mapping dispatchers in web.xml were REQUEST and FORWARD but not INCLUDE.
Adding INCLUDE to the filter dispatchers got the application working again but I’m concerned that if forwardToString() is actually including rather than forwarding it might affect other parts of the application in unpredictable ways. (And also it means the name of the method is now not descriptive of what’s really going on, and the documentation at http://directwebremoting.org/dwr/documentation/server/generic.html is no longer true.)
Was this change intentional?