The <bean:write/> tag, by default, escapes any HTML special
characters, like the '&' in your case.  This can be an important
security consideration to prevent malicious users of your site from
injecting HTML markup into your website.  To override this behavior,
set filter="false":

 <bean:write filter="false" name="myStr"/>

On 4/13/05, Pham Anh Tuan <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I got a problem when I write out data on jsp.
> 
> I have a String = "&#12431;&#12383;&#12375"
> 
> which means わたし in Japanese
> 
> I use <bean:write name="myStr"/>
> 
> it only shows "&#12431;&#12383;&#12375"
> 
> plz show me how to solve this problem.
> 
> thanks.
> 


-- 
Jeff Beal
Webmedx, Inc.
Pittsburgh, PA USA

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to