ajax - jQuery Error connection refused -


i created java web application using apache tomcat 8, , used jquery ajax call servlet. used same application using apache tomcat 7, , when call servlet via jquery ajax, gives me following error:

net::err_connection_reset 

here ajax code:

   $.get("servletname", { label: data1value                 }, function(responsetext){                      alert('response text: ' + responsetext);                       });                  }); 

where going wrong? kindly assist me.


Comments

Popular posts from this blog

mysql - FireDac error 314 - but DLLs are in program directory -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -

java - How can I send the data from a imput type="file" to the controller? -