sysinit.jsp 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. <%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
  2. <%
  3. String path = request.getContextPath();
  4. String basePath = request.getScheme() + "://"
  5. + request.getServerName() + ":" + request.getServerPort()
  6. + path + "/";
  7. %>
  8. <!DOCTYPE html>
  9. <html>
  10. <head>
  11. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  12. <link rel="icon" href="<%=basePath %>resource/images/icon_title.png" type="image/x-icon"/>
  13. <link rel="stylesheet" href="<%=basePath%>resource/ext/4.2/resources/ext-theme-gray/ext-theme-gray-all.css" type="text/css"></link>
  14. <script type="text/javascript" src="<%=basePath%>resource/ext/4.2/ext-all.js"></script>
  15. <script type="text/javascript" src="<%=basePath%>resource/i18n/i18n.js"></script>
  16. <script type="text/javascript" src="<%=basePath %>resource/ux/TabCloseMenu.js"></script>
  17. <script type="text/javascript">
  18. Ext.Loader.setConfig({
  19. enabled: true
  20. });
  21. Ext.application({
  22. name: 'erp',
  23. appFolder: basePath + 'app',
  24. controllers : [ 'common.SysInit' ],
  25. launch : function() {
  26. Ext.create('erp.view.common.sysinit.ViewPort');
  27. }
  28. });
  29. var caller='SysInit';
  30. </script>
  31. </head>
  32. <body>
  33. </body>
  34. </html>