I am following the steps given
here to create an AJAX application using Dojo.
I have a
java object : PaneLayout which I convert to JSONObject
In my
JSP:
In CreateForm
servlet:
I am sending back the
string form of JSONObject (created by converting a PaneLayout object, as shown above)
The 'getPaneInfo(id)' function is called and it sends the request to servlet alright but no data is coming in showProperty function. I checked the value of 'data' and that is 'false'. So each time 'Damn' is getting printed.
I don't understand what can be wrong in this. Am I doing anything wrong while sending the data? What else can be wrong?
Please help me with this. Any pointers will help.
Thanks.