mysubordinate.jsp 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <%@ page language="java" import="java.util.*,java.text.SimpleDateFormat" 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. <%SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
  8. String date=format.format(new Date());%>
  9. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  10. <html>
  11. <head>
  12. <!--Ext and ux styles -->
  13. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  14. <link href="<%=basePath %>resource/gnt/resources/css/ext-all-gray.css" rel="stylesheet" type="text/css" />
  15. <%-- <link href="<%=basePath %>resource/css/main.css" rel="stylesheet" type="text/css" /> --%>
  16. <!--Scheduler styles-->
  17. <link href="<%=basePath %>resource/gnt/css/sch-gantt-all.css" rel="stylesheet" type="text/css" />
  18. <!--Implementation specific styles-->
  19. <link href="<%=basePath %>resource/gnt/advanced/advanced.css" rel="stylesheet" type="text/css" />
  20. <link href="<%=basePath %>resource/gnt/css/examples.css" rel="stylesheet" type="text/css" />
  21. <!--Ext lib and UX components-->
  22. <script src="<%=basePath %>resource/gnt/ext-all.js" type="text/javascript"></script>
  23. <!--Gantt components-->
  24. <script src="<%=basePath %>resource/gnt/gnt-all-debug.js" type="text/javascript"></script>
  25. <script src="<%=basePath %>resource/gnt/sch-all-debug.js" type="text/javascript"></script>
  26. <script src="<%=basePath %>app/util/BaseUtil.js" type="text/javascript"></script>
  27. <!--Application files-->
  28. <script src="task.js" type="text/javascript"></script>
  29. <script type="text/javascript">
  30. var assignmentEditor='';
  31. var recorder = '<%=session.getAttribute("em_name")%>';
  32. var recorddate="<%=date%>";
  33. var basePath="<%=basePath%>";
  34. </script>
  35. <title>Gantt demo</title>
  36. </head>
  37. <body>
  38. <div id="north">
  39. </div>
  40. </body>
  41. </html>