error404.jsp 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
  3. <%@include file="./include.jsp"%>
  4. <!--
  5. 스프링 메세지 리소스를 사용할 수 없습니다 (서블릿 영역)
  6. 컨텍스트 파라미터를 등록하여 태그는 사용할 수 있으나, 컨버팅은 안되는 것으로 확인
  7. -->
  8. <div id="mcareError" style="padding: 5%;">
  9. <div data-role="header" class="alert alert-danger">
  10. <h3 style="color: red;">에러안내</h3>
  11. </div>
  12. <div data-role="content" class="alert alert-info">
  13. <div >
  14. <p class="errormsg">
  15. 요청하신 페이지를 찾을 수 없습니다.
  16. <br>[HTTP 404 ERROR]
  17. </p>
  18. </div>
  19. <div style="text-align: center; padding: 20px 0px;">
  20. <%-- <a class="ui-btn ui-btn-b" href="${pageContext.request.contextPath}/index.page">[ 확 인 ]</a> --%>
  21. <button type="button" class="btn btn-primary" onclick="location.href='${pageContext.request.contextPath}/index.page';">확 인</button>
  22. </div>
  23. </div>
  24. </div>
  25. <div id="adminError">
  26. <div >
  27. <p class="errormsg">
  28. 요청하신 페이지를 찾을 수 없습니다. [HTTP 404 ERROR]
  29. </p>
  30. </div>
  31. <a class="ui-btn ui-btn-b" href="${pageContext.request.contextPath}/index.page" >확인</a>
  32. </div>
  33. <script type="text/javascript">
  34. $(document).on('pagebeforeshow', function(e, ui) {
  35. var mplus = new mplus_mobile();
  36. if (mplus.isMobile() == true) {
  37. $('#adminError').hide();
  38. } else {
  39. $('#mcareError').hide();
  40. }
  41. });
  42. </script>