post.jsp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. %>
  7. <!DOCTYPE html>
  8. <html>
  9. <head>
  10. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  11. <link rel="stylesheet" href="<%=basePath %>resource/ext/resources/css/ext-all-gray.css" type="text/css"/>
  12. <link rel="stylesheet" href="<%=basePath %>resource/css/main.css" type="text/css"/>
  13. <style type="text/css">
  14. .btn-test-post {
  15. width: 200;
  16. text-align: center;
  17. }
  18. </style>
  19. <script type="text/javascript" src="<%=basePath %>resource/ext/ext-all.js"></script>
  20. <script type="text/javascript" src="<%=basePath %>resource/i18n/i18n.js"></script>
  21. <script type="text/javascript">
  22. /**
  23. * 过账压力测试
  24. */
  25. Ext.Loader.setConfig({
  26. enabled: true
  27. });//开启动态加载
  28. Ext.application({
  29. name: 'erp',//为应用程序起一个名字,相当于命名空间
  30. appFolder: basePath+'app',//app文件夹所在路径
  31. controllers: [//声明所用到的控制层
  32. 'plm.test.TestPost'
  33. ],
  34. launch: function() {
  35. Ext.create('erp.view.plm.test.TestPost');//创建视图
  36. }
  37. });
  38. </script>
  39. </head>
  40. <body >
  41. </body>
  42. </html>