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

symfony - InvalidConfigurationException in SecurityExtension.php line 429: No authentication listener registered for firewall "secured_area" -

angular ui router - 10 digest iterations reached in angularjs when using $state.go -

javascript - Handling constructor related functions while testing with mocha and sinon -