Hello,
I am trying to use “ISO-8859-1” char set in my web application. But when I try
to display “?” sign using html:text field it displays “#163;”. If I look at
the HTML source there I see that “” is escaped by the character entity “amp;”
so now instead of “#163;” the value is “amp;#163;”
converted into the character entity form (#163;)?
You could try escape=false, but I'd suggest understanding what's going
on first so you're confident that you aren't opening up
cross-site-scripting or other Javascript injection vulnerabilities by
doing so.
L.
Nayyer Kamran wrote:
Hello
To: Nayyer Kamran
Subject: FW: Ampersand sign problem
FYI
From: [EMAIL PROTECTED]
To: user@struts.apache.org
Subject: RE: RE: Re: Ampersand sign problem
Date: Fri, 29 Aug 2008 11:50:02 +
Try using this in your struts.properties file:
struts.i18n.encoding
3 matches
Mail list logo