cs.jsp 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <%@page import="com.hotent.core.api.util.PropertyUtil"%>
  2. <%@page import="org.springframework.security.authentication.AuthenticationServiceException"%>
  3. <%@page import="org.springframework.security.authentication.AccountExpiredException"%>
  4. <%@page import="org.springframework.security.authentication.DisabledException"%>
  5. <%@page import="org.springframework.security.authentication.LockedException"%>
  6. <%@page import="org.springframework.security.authentication.BadCredentialsException"%>
  7. <%@page import="java.util.Enumeration"%>
  8. <%@page pageEncoding="UTF-8"%>
  9. <%@page import="org.springframework.security.web.WebAttributes"%>
  10. <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  11. <c:set var="ctx" value="${pageContext.request.contextPath}" />
  12. <%
  13. //String appName=PropertyUtil.getByAlias("appName");
  14. String appName="长春首佳科技有限公司-协同办公管理系统";
  15. %>
  16. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  17. <html xmlns="http://www.w3.org/1999/xhtml">
  18. <head>
  19. <title><%=appName%></title>
  20. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  21. <script type="text/javascript" src="${ctx}/js/jquery/jquery.js"></script>
  22. <script >
  23. function a(){
  24. window.location.href="${ctx}/platform/file/fileManage/download.ht?fileId=10000010910014";
  25. }
  26. function b(){
  27. $.ajax({
  28. async:true,
  29. cache:false,
  30. url:"${ctx}/platform/file/fileManage/pendingMattersList.ht",
  31. type:"POST",
  32. dataType:"json",
  33. success:function(arr) {
  34. alert(arr);
  35. }
  36. });
  37. }
  38. </script>
  39. </head>
  40. <body id="wrap_login">
  41. <a class="btn btn-mini btn-primary" onclick="a()">下载</a>
  42. <a class="btn btn-mini btn-primary" onclick="b()">待办</a>
  43. <form action="${ctx}/platform/file/fileManage/feedback.ht" name="Form" id="Form" method="post" enctype="multipart/form-data">
  44. <input type="file" id="file" name="file" />
  45. <a class="btn btn-mini btn-primary" onclick="document.getElementById('Form').submit();">导入</a>
  46. </form>
  47. </body>
  48. </html>