Hi

There is an attribut called "filter" in <bean:write>. The default is set to
true. Set it to false and try again.

Cheers 
Andy


-----Ursprüngliche Nachricht-----
Von: Hartmut Bernecker [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 20. Juni 2001 11:10
An: [EMAIL PROTECTED]
Betreff: Displaying unicode hexadecimal character references with Struts


Hello,

HTML 4.0 allows to display unicode characters by using Decimal
(&#123456;) or Hexadecimal (&#x00FE;) Character References.
Now, if a bean property contains some String with character references
(e. g. new String("&#12456;&#12521;&#12540;");) then I expect a correct
output when displaying that bean-properties with a JSP-page.
But what happens? - The output to the browser is not
"&#12456;&#12521;&#12540;" (which would be displayed correct), but
&amp;#12456;&amp;#12521;&amp;#12540; which is displayed as
"&#12456;&#12521;&#12540;" - what is not nice!

Why that behavior?
How to switch off that mechanism?

I appreciate any hint!

Cheers
Hartmut

Reply via email to