-
Bug
-
Resolution: Done
-
Critical
-
JWS 5.0.0 SP1 CR1
-
4
-
-
-
-
-
-
?
Digester.updateBodyText() has a piece of Tomcat code that is incompatible with the loop that was introduced for property replacement. Note: this problem only affects body text (always in web.xml), and not property replacement in server.xml attributes.
Change needed is, at the end of Digester.updateBodyText() replace this block:
if (out.equals(in)) { // No substitutions required. Don't waste memory creating // a new buffer return bodyText; } else { return new StringBuilder(out); }
with this return:
return new StringBuilder(out);
Testing, in web.xml, something like:
web.xml
<init-param> <param-name>foo</param-name> <param-value>${somesystemproperty}</param-value> </init-param>
- is cloned by
-
JWS-1303 Body text property replacement fails [jws3]
- Closed