Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by swaroop on Jul 16, 2009 23:17
open dhtmlx forum
serialized data contain & character which creating problem for jsp

i am serializing the data and using "dhtmlxAjax.post" posting it to jsp.
Data contain "&" character , which is creating a problem to the jsp, jsp is considering that '&' as a parameter separate

I used serialization with last option "true" for CDATA then also that problem failed to solve
as i/p is from user , how can i escape that & OR is there any way to solve this problem ?
Answer posted by dhxSupport on Jul 20, 2009 05:40
To serialize grid to xml format with value included into CDATA you can use:
mygrid.setSerializationLevel(false,false,false,false,true);
If after serialization values is not included into CDATA, please provide us example where we can reproduce this issue.