Bug 38663

Summary: str:string doesn't work on dynamic content
Product: Taglibs Reporter: Alfred Stappenbeck <alfreds>
Component: String TaglibAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P2    
Version: nightly   
Target Milestone: ---   
Hardware: PC   
OS: Linux   

Description Alfred Stappenbeck 2006-02-15 22:40:25 UTC
if I try 
<str:escape><bean:write name='foo' property='bar'/></str:escape>
I get no escaping of special characters in foo.bar's content. However, if do
<str:escape>Tes't</str:escape>
I get the desired effect.
Test\'t

This seems very limiting since in most cases people would like to have dynamic 
content.
Comment 1 Henri Yandell 2009-07-11 02:01:31 UTC
I believe this should be working fine for JSP 2.0 onwards when this became automatic.