taskforperson.jsp 1.6 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 rel="stylesheet" href="<%=basePath %>resource/gnt/ext-all-gray.css" type="text/css"></link>
  15. <!--Scheduler styles-->
  16. <link href="<%=basePath %>resource/gnt/css/sch-all.css" rel="stylesheet" type="text/css" />
  17. <!--Implementation specific styles-->
  18. <link href="<%=basePath %>resource/gnt/css/sch/examples.css" rel="stylesheet" type="text/css" />
  19. <!--Ext lib and UX components-->
  20. <script src="<%=basePath %>resource/gnt/ext-all.js" type="text/javascript"></script>
  21. <!--Scheduler files-->
  22. <script src="<%=basePath %>resource/gnt/sch-all-debug.js" type="text/javascript"></script>
  23. <!--Application files-->
  24. <script src="assignresource.js" type="text/javascript"></script>
  25. <script type="text/javascript">
  26. var assignmentEditor='';
  27. var recorder = '<%=session.getAttribute("em_name")%>';
  28. var recorddate="<%=date%>";
  29. var basePath="<%=basePath%>";
  30. </script>
  31. <script src="<%=basePath %>resource/i18n/i18n.js" type="text/javascript"></script>
  32. <title>Gantt demo</title>
  33. </head>
  34. <body>
  35. <div id="north">
  36. </div>
  37. </body>
  38. </html>