Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

[S2] s:property escape attribute

Twins fan

2007-12-04



- The s:property tag escapes html markup characters, which is very nice.
- On the other hand it creates html character entities of non-ascii
characters, which is ugly and unnecessary, as I already have UTF-8 as
character encoding of the page.

"escape=true" does both, "escape=false" does neither.
Is there a struts.properties setting to disable unnecessary character
entities, so that we can have the best of both worlds?

kuvera


-----
http://javatar.hu Java EE programming
--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.