root.jsp 999 B

1234567891011121314151617181920212223242526272829303132333435
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%>
  3. <!doctype html>
  4. <html>
  5. <head>
  6. <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
  7. <meta http-equiv="Pragma" content="no-cache" />
  8. <meta http-equiv="Expires" content="0" />
  9. <title><tiles:getAsString name="title" /></title>
  10. <tiles:insertAttribute name="include" />
  11. <style type="text/css">
  12. #page {
  13. min-height: 790px;
  14. }
  15. </style>
  16. </head>
  17. <body>
  18. <div id="page">
  19. <div id="header">
  20. <tiles:insertAttribute name="header" />
  21. </div>
  22. <div id="center">
  23. <tiles:insertAttribute name="content" />
  24. </div>
  25. </div>
  26. </body>
  27. <script type="text/javascript">
  28. $.ajaxPrefilter(function(options, original) {
  29. if (original.contentType == null && typeof original.data === 'string') {
  30. options.contentType = 'application/json; charset=UTF-8';
  31. }
  32. });
  33. </script>
  34. </html>