jQuery错误连接被拒绝

时间:2015-08-19 17:20:54

标签: jquery ajax tomcat7 tomcat8

我使用Apache Tomcat 8创建了一个JAVA Web应用程序,并使用jQuery ajax来调用servlet。然后我使用Apache Tomcat 7使用相同的应用程序,当我通过jQuery ajax调用servlet时,它给出了以下错误:

net::ERR_CONNECTION_RESET

这是ajax代码:

   $.get("ServletName", { label: data1value
                }, function(responseText){

                    alert('response Text: ' + responseText);


                    });

                });

我哪里错了?请帮助我。

0 个答案:

没有答案
相关问题