Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angularjs/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angularjs 使用Glassfish在Internet Explorer中不使用Favicon_Angularjs_Glassfish - Fatal编程技术网

Angularjs 使用Glassfish在Internet Explorer中不使用Favicon

Angularjs 使用Glassfish在Internet Explorer中不使用Favicon,angularjs,glassfish,Angularjs,Glassfish,我对Internet Explorer中的favicon有问题 我的应用程序是glassfish v4.0.1中的一个项目 这是我的页面: <!doctype html> <html lang="en" ng-app="app"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <me

我对Internet Explorer中的favicon有问题

我的应用程序是glassfish v4.0.1中的一个项目

这是我的页面:

<!doctype html>
<html lang="en" ng-app="app">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=0.25,maximum-scale=1,user-scalable=yes">
    <base href="/lso/">

    <link rel="icon" href="img/favicon.ico" type="image/x-icon" />
    <link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon" />

    <link rel='stylesheet' href="css/style.min.css"/>
  </head>
  <body ng-controller="MainController">
    <div ui-view></div>
    <script src="scripts/gen/scripts.min.js"></script>
  </body>
</html>
这里是internet explorer(其中favicon.ico不存在)

如果我在第二个Web服务器(apache)中创建一个新项目,并且只将index.html和favicon复制到其中,那么它在internet explorer中工作。所以我认为glassfish的一些配置是错误的。可能吗

也许有人能帮我。
如果存在证书错误,是否可能不显示favicon?这是我们的开发项目,所以我们没有正确的证书。我在IE 11中使用Glassfish 4。您使用的是哪个IE版本?我使用的是IE 10和11(在两个不同的工作站上)。我可能认为这个问题与我们项目中的证书错误有关。我查一下。你查过清单上的所有内容了吗?
"13/Apr/2015:15:33:49 +0100" "GET /myproject/ HTTP/1.1" 302 178
"13/Apr/2015:15:33:49 +0100" "GET /myproject/ HTTP/1.1" 302 187 
"13/Apr/2015:15:33:49 +0100" "GET /myproject/login.jsp HTTP/1.1" 200 4830 
"13/Apr/2015:15:35:13 +0100" "GET /myproject/ HTTP/1.1" 302 178 
"13/Apr/2015:15:35:13 +0100" "GET /myproject/ HTTP/1.1" 302 231 
"13/Apr/2015:15:35:14 +0100" "GET /myproject/login.jsp HTTP/1.1" 200 4830 
"13/Apr/2015:15:35:14 +0100" "GET /myproject/css/style.min.css HTTP/1.1" 200 123557
"13/Apr/2015:15:35:14 +0100" "GET /myproject/scripts/gen/scripts.min.js HTTP/1.1" 200 363186
"13/Apr/2015:15:35:14 +0100" "GET /myproject/img/favicon.ico HTTP/1.1" 200 1150 
"13/Apr/2015:15:47:45 +0100" "GET /myproject/ HTTP/1.1" 302 178 
"13/Apr/2015:15:47:45 +0100" "GET /myproject/ HTTP/1.1" 302 178 
"13/Apr/2015:15:47:45 +0100" "GET /myproject/ HTTP/1.1" 302 231 
"13/Apr/2015:15:47:45 +0100" "GET /myproject/login.jsp HTTP/1.1" 200 4832
"13/Apr/2015:15:47:47 +0100" "GET /myproject/ HTTP/1.1" 302 178 
"13/Apr/2015:15:47:47 +0100" "GET /myproject/ HTTP/1.1" 302 231 
"13/Apr/2015:15:47:47 +0100" "GET /myproject/login.jsp HTTP/1.1" 200 4832 
"13/Apr/2015:15:47:47 +0100" "GET /myproject/css/style.min.css HTTP/1.1" 200 123557
"13/Apr/2015:15:47:47 +0100" "GET /myproject/scripts/gen/scripts.min.js HTTP/1.1" 200 363186