timeout.jsp 651 B

1234567891011121314151617181920212223242526272829303132
  1. <%@ page language="java" pageEncoding="UTF-8"
  2. contentType="text/html; charset=UTF-8"%>
  3. <%
  4. request.getSession(true).invalidate();//清空session
  5. String ctx = request.getContextPath();
  6. %>
  7. <style>
  8. body{
  9. background-color: #fff;
  10. }
  11. .div-error {
  12. background-color: #fff;
  13. width:500px; margin:100px auto; padding-right:150px;
  14. }
  15. img {
  16. border: 0px;
  17. width: 409px;
  18. }
  19. </style>
  20. <body>
  21. <div class="div-error" >
  22. <div style="text-align: center;">
  23. <img src="<%=ctx %>/themes/default/images/warn.jpg"/>
  24. <p>
  25. <strong style="font-size:42px;margin:10px auto;">登录超时,请重新登录</strong>
  26. </p>
  27. </div>
  28. </div>
  29. </body>