incompatible.jsp 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
  2. <%
  3. String path = request.getContextPath();
  4. String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
  5. + path + "/";
  6. %>
  7. <!DOCTYPE html>
  8. <head>
  9. <meta charset="UTF-8">
  10. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  11. <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
  12. <title>请升级你的浏览器</title>
  13. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  14. <style type="text/css">
  15. body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li,
  16. pre, form, fieldset, legend, button, input, textarea, th, td {
  17. margin: 0;
  18. padding: 0
  19. }
  20. a {
  21. text-decoration: none;
  22. color: #0072c6;
  23. }
  24. a:hover {
  25. text-decoration: none;
  26. color: #004d8c;
  27. }
  28. body {
  29. width: 960px;
  30. margin: 0 auto;
  31. padding: 10px;
  32. font-size: 13px;
  33. line-height: 20px;
  34. color: #454545;
  35. font-family: 'Microsoft YaHei UI', 'Microsoft YaHei', DengXian, SimSun,
  36. 'Segoe UI', Tahoma, Helvetica, sans-serif;
  37. }
  38. h1 {
  39. font-size: 40px;
  40. line-height: 80px;
  41. font-weight: 200;
  42. margin-bottom: 10px;
  43. }
  44. h2 {
  45. font-size: 20px;
  46. line-height: 25px;
  47. font-weight: 500;
  48. margin: 10px 0;
  49. }
  50. p {
  51. margin-bottom: 10px;
  52. }
  53. .line {
  54. clear: both;
  55. width: 100%;
  56. height: 1px;
  57. overflow: hidden;
  58. line-height: 1px;
  59. border: 0;
  60. background: #ccc;
  61. margin: 10px 0 30px;
  62. }
  63. img {
  64. width: 34px;
  65. height: 34px;
  66. border: 0;
  67. float: left;
  68. margin-right: 10px;
  69. }
  70. span {
  71. display: block;
  72. font-size: 12px;
  73. line-height: 12px;
  74. }
  75. .clean {
  76. clear: both;
  77. }
  78. .browser {
  79. padding: 10px 0;
  80. }
  81. .browser li {
  82. width: 180px;
  83. float: left;
  84. list-style: none;
  85. }
  86. </style>
  87. </head>
  88. <body class="vsc-initialized">
  89. <h1>是时候升级你的浏览器了</h1>
  90. <p>你正在使用 Internet Explorer 的9以下的版本(IE6、IE7、IE8
  91. 或使用该内核的浏览器)。这意味着在升级浏览器前,你将无法访问此网站。</p>
  92. <div class="line"></div>
  93. <h2>请注意:Windows XP 及 IE6、IE7、IE8 的支持已经结束</h2>
  94. <p>
  95. 自 2014 年 4 月 8 日起,Microsoft 不再为 Windows XP 和 Internet Explorer 8
  96. 及以下版本提供相应支持和更新。如果你继续使用这些,你将可能受到病毒、间谍软件和其他恶意软件的攻击,无法确保个人信息的安全。请参阅 <a
  97. href="http://windows.microsoft.com/zh-cn/windows/end-support-help">Microsoft
  98. 关于 Windows XP 支持已经结束的说明</a> 。
  99. </p>
  100. <div class="line"></div>
  101. <h2>更先进的浏览器</h2>
  102. <p>推荐使用以下浏览器的最新版本。如果你的电脑已有以下浏览器的最新版本则直接使用该浏览器访问即可。</p>
  103. <ul class="browser">
  104. <li><a
  105. href="https://www.google.com/intl/zh-CN/chrome/browser/index.html?system=true&amp;standalone=1"><img
  106. src="img/chrome.jpg" alt="谷歌浏览器"> 谷歌浏览器<span>Google
  107. Chrome</span></a></li>
  108. <li><a href="https://www.mozilla.org/zh-CN/firefox/new/"><img
  109. src="img/firefox.jpg" alt="火狐浏览器"> 火狐浏览器<span>Mozilla
  110. Firefox</span></a></li>
  111. <li><a
  112. href="https://support.microsoft.com/zh-tw/help/17621/internet-explorer-downloads"><img
  113. src="img/ie.jpg" alt="IE浏览器"> IE浏览器<span>Internet
  114. Explorer</span></a></li>
  115. <li><a href="https://www.opera.com/zh-cn"><img
  116. src="img/opera.jpg" alt="IE浏览器"> Opera浏览器<span>Opera
  117. Explorer</span></a></li>
  118. <div class="clean"></div>
  119. </ul>
  120. <div class="line"></div>
  121. <h2>为什么会出现这个页面?</h2>
  122. <p>如果你不知道升级浏览器是什么意思,请请教一些熟练电脑操作的朋友。如果你使用的不是IE6/7/8,而是360浏览器、QQ浏览器、搜狗浏览器等,出现这个页面是因为你使用的不是该浏览器的最新版本,升级至最新即可。</p>
  123. <div class="line"></div>
  124. <h2>一起抵制IE6、IE7、IE8</h2>
  125. <p>为了兼容这个曾经的浏览器霸主,网页设计人员需要做大量的代码工作,而且最终效果也始终不能让人满意。对于普通用户而言,低版本IE更是一个岌岌可危的安全隐患,在Windows历史上几次大的木马病毒事件都是利用IE漏洞进行传播。所以,请和我们一起抵制IE6、IE7、IE8!</p>
  126. </body>
  127. </html>