Java 带有servlet和https的Ajax在google应用程序引擎上不起作用

Java 带有servlet和https的Ajax在google应用程序引擎上不起作用,java,jquery,google-app-engine,servlets,https,Java,Jquery,Google App Engine,Servlets,Https,我在GAE上有一个应用程序。 当通过http而不是https访问时,它工作良好 我有一个JS(jquery)函数,如下所示: function myFunc() { $.get('ser', function(respText) { ... }); }; 它调用servlet并更新jsp页面中的内容 web.xml映射: <servlet

我在GAE上有一个应用程序。 当通过http而不是https访问时,它工作良好

我有一个JS(jquery)函数,如下所示:

function myFunc() {

                $.get('ser', function(respText) {
                     ...
                     });
                 };
它调用servlet并更新jsp页面中的内容

web.xml映射:

<servlet-mapping>
<servlet-name>Ser</servlet-name>
<url-pattern>/ser</url-pattern>

Ser
/ser

在https请求中,页面加载失败,但ajax请求不起作用

感谢您的帮助

我解决了这个问题。 它位于jQuery库链接中

我在用

<script src="http://code.jquery.com/jquery-latest.min.js"></script>

将http更改为https

<script src="https://code.jquery.com/jquery-latest.min.js"></script>

解决了这个问题