Jay Abrahm wrote:I would have escaped it in the struts code but unfortunately I am using a JSONObject.
Hmm, I thought that JSONObject class is developed by you as a helper class.
Maybe, we can repleace that JSON string with "\'", like
Jay Abrahm wrote:
Is there a way to escape it in the property tag ?
Never used Struts 2, but while exploring it <s:property> tag, I found something useful, its "escape" attribute itself, but its default value is "true", so don't think will it make any difference or not !!
Still use it and make its default value as a "false"