jprocessDeploy.jsp 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <%@ page language="java" contentType="text/html; charset=utf-8"
  2. pageEncoding="utf-8"%>
  3. <%
  4. request.setCharacterEncoding("utf-8");
  5. String path = request.getContextPath();
  6. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  7. %>
  8. <!DOCTYPE html>
  9. <html>
  10. <head>
  11. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  12. <link rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css" type="text/css"></link>
  13. <!--[if IE]>
  14. <link rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-ie-scoped.css" type="text/css"></link>
  15. <![endif]-->
  16. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"></link>
  17. <link rel="stylesheet" type="text/css" href="<%=basePath %>resource/ux/css/CheckHeader.css" />
  18. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  19. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  20. <script type="text/javascript" src="<%=basePath %>resource/ux/CheckColumn.js"></script>
  21. <script type="text/javascript">
  22. var caller = "";
  23. Ext.Loader.setConfig({
  24. enabled: true
  25. });//开启动态加载
  26. Ext.application({
  27. name: 'erp',//为应用程序起一个名字,相当于命名空间
  28. appFolder: basePath+'app',//app文件夹所在路径
  29. controllers: [//声明所用到的控制层
  30. 'oa.myProcess.JprocessDeploy'
  31. ],
  32. launch: function() {
  33. Ext.create('erp.view.oa.myProcess.jprocessDeploy.JprocessDeploy');//创建视图
  34. }
  35. });
  36. </script>
  37. </head>
  38. <body >
  39. </body>
  40. </html>