0

I am transferring a string containing quotes from ognl to javascript like this:

alert(<s:property value="jsonString"/>);

jsonString has value

    {"efwef":"wefwef"}

the quotes get replaced by &quot;

{&quot;efwef&quot;:&quot;wefwef&quot;}

how do I prevent this?

anon
  • 1,101
  • 3
  • 17
  • 33

1 Answers1

1
<s:property value="jsonString" escape="false"/>
MohanaRao SV
  • 1,117
  • 1
  • 8
  • 22