dfmz_index.jsp 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <%
  4. String path = request.getContextPath();
  5. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  6. String baseUrl = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/";
  7. %>
  8. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  9. <html lang="en">
  10. <head>
  11. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  12. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
  13. <style>
  14. html,body {
  15. height: 100%;
  16. }
  17. </style>
  18. <script>
  19. var webInit = function(){
  20. sessionStorage.setItem('V_LOGINNAME','dfmz');
  21. sessionStorage.setItem('V_PASSWORD','1d1a627cc4b9fb8c07c9bda48e9fa150');
  22. document.getElementsByTagName("body")[0].style.height = document.body.scrollHeight+"px";
  23. document.getElementsByTagName("body")[0].style.width = document.body.scrollWidth+"px";
  24. document.getElementsByTagName("body")[0].innerHTML='<iframe id="frame_frontpage" frameborder=0 width="100%" height="100%" allowtransparency="true" scrolling=auto src="view/mainframe.jsp"></iframe>';
  25. }
  26. </script>
  27. <title>智慧消防管理平台</title>
  28. </head>
  29. <body onload="webInit();" style="overflow:hidden;">
  30. </body>
  31. </html>