I am using tomcat and running my application on localhost 8080
I have this javascript/jquery call:
and the servlet is doing (i have taken out any attempt at json and just returning plain text)
I installed fiddler 2 and it says?
in the response window:
all of the alerts in the callback function happen but the one alerting about data is just an empty dialog box.
There are no errors in either the firefox error console or the tomcat window.
Does anyone have any ideas what is going wrong?
when it used to be "application/json" in the servlet (now commented out) and "json" in the jquery
i got the message "data is null" in the firefox console
I am testing this using eclipse with debug in the servlet.
I am getting the success response before my breakpoint has been activated.
I went back to the old version
I am getting status code 0. Thank you all for your help. I haven't solved it yet