[Ajax4JSF] IE11无法兼容低版本问题

hanjihuiqiang 2017-09-22
程序中,IE11无法兼容低版本,微软全球提供的解决方案是:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />要紧跟<head>之后,如下:

在特点的站点页面中, 利用meta element来指定Document modes, 例如
        <head>
      <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
   </head>

但是目前,程序中无法放到<head>之后,查看源代码时,发现生成了很多jsf的代码,所以,此解决方案一直无效,请专家们协助解决,非常感谢。
目前jsf使用版本3.3.1,

查看源代码如下:
<head>
  <link class="component" href="/jtaudit/a4j/s/3_3_1.GAorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAG7GS-0NnT5DGkAEcoDpw__.jsf" rel="stylesheet" type="text/css" /><link class="component" href="/jtaudit/a4j/s/3_3_1.GAorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAG7GS-0NnT5DGkAEcoDpw__.jsf" media="rich-extended-skinning" rel="stylesheet" type="text/css" /><script type="text/javascript">window.RICH_FACES_EXTENDED_SKINNING_ON=true;</script><script src="/jtaudit/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/scripts/skinning.js.jsf" type="text/javascript"></script>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
  <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=GBK">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">   
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="/jtaudit/ext/resources/css/ext-all.css"/>
<link rel="stylesheet" href="/jtaudit/resource/fonts/iconfont.css" />
<link rel="stylesheet" type="text/css" href="/jtaudit/resource/css/style.css">
<link rel="stylesheet" type="text/css" href="/jtaudit/resource/css/default2.css">

<script type="text/javascript" src="/jtaudit/ext/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="/jtaudit/ext/ext-all.js"></script>
<script type="text/javascript" src="/jtaudit/ext/TabCloseMenu.js"></script>

<script type="text/javascript" src="/jtaudit/audit/js/jquery-1.4.js"></script>
<script type="text/javascript" src="/jtaudit/audit/js/jquery-smartMenu.js"></script>
<link rel="stylesheet" type="text/css" href="/jtaudit/audit/css/smartMenu.css" rel="stylesheet" />
<script type="text/javascript" language="javascript">

Ext.BLANK_IMAGE_URL = '/jtaudit/ext/resources/images/default/s.gif';
Ext.util.CSS.swapStyleSheet("red5","/jtaudit/ext/resources/css/xtheme-gray.css");
</script>
  </head>
Global site tag (gtag.js) - Google Analytics