shuzheng 9 лет назад
Родитель
Сommit
c4b6aac8e1
46 измененных файлов с 400 добавлено и 12 удалено
  1. 4 1
      zheng-cms/zheng-cms-admin/src/main/resources/i18n/messages_en_US.properties
  2. 4 1
      zheng-cms/zheng-cms-admin/src/main/resources/i18n/messages_zh_CN.properties
  3. 17 0
      zheng-cms/zheng-cms-admin/src/main/webapp/WEB-INF/jsp/403.jsp
  4. 1 1
      zheng-cms/zheng-cms-admin/src/main/webapp/WEB-INF/jsp/500.jsp
  5. 17 0
      zheng-cms/zheng-cms-admin/src/main/webapp/WEB-INF/jsp/error.jsp
  6. 8 0
      zheng-cms/zheng-cms-admin/src/main/webapp/WEB-INF/web.xml
  7. 17 0
      zheng-cms/zheng-cms-search/src/main/webapp/WEB-INF/jsp/403.jsp
  8. 1 1
      zheng-cms/zheng-cms-search/src/main/webapp/WEB-INF/jsp/500.jsp
  9. 17 0
      zheng-cms/zheng-cms-search/src/main/webapp/WEB-INF/jsp/error.jsp
  10. 8 0
      zheng-cms/zheng-cms-search/src/main/webapp/WEB-INF/web.xml
  11. 4 1
      zheng-cms/zheng-cms-web/src/main/resources/i18n/messages_en_US.properties
  12. 4 1
      zheng-cms/zheng-cms-web/src/main/resources/i18n/messages_zh_CN.properties
  13. 17 0
      zheng-cms/zheng-cms-web/src/main/webapp/WEB-INF/jsp/403.jsp
  14. 1 1
      zheng-cms/zheng-cms-web/src/main/webapp/WEB-INF/jsp/500.jsp
  15. 17 0
      zheng-cms/zheng-cms-web/src/main/webapp/WEB-INF/jsp/error.jsp
  16. 8 0
      zheng-cms/zheng-cms-web/src/main/webapp/WEB-INF/web.xml
  17. 4 0
      zheng-pay/zheng-pay-admin/src/main/resources/i18n/messages_en_US.properties
  18. 4 0
      zheng-pay/zheng-pay-admin/src/main/resources/i18n/messages_zh_CN.properties
  19. 17 0
      zheng-pay/zheng-pay-admin/src/main/webapp/WEB-INF/jsp/403.jsp
  20. 1 1
      zheng-pay/zheng-pay-admin/src/main/webapp/WEB-INF/jsp/500.jsp
  21. 17 0
      zheng-pay/zheng-pay-admin/src/main/webapp/WEB-INF/jsp/error.jsp
  22. 8 0
      zheng-pay/zheng-pay-admin/src/main/webapp/WEB-INF/web.xml
  23. 4 0
      zheng-pay/zheng-pay-web/src/main/resources/i18n/messages_en_US.properties
  24. 4 0
      zheng-pay/zheng-pay-web/src/main/resources/i18n/messages_zh_CN.properties
  25. 17 0
      zheng-pay/zheng-pay-web/src/main/webapp/WEB-INF/jsp/403.jsp
  26. 1 1
      zheng-pay/zheng-pay-web/src/main/webapp/WEB-INF/jsp/500.jsp
  27. 17 0
      zheng-pay/zheng-pay-web/src/main/webapp/WEB-INF/jsp/error.jsp
  28. 8 0
      zheng-pay/zheng-pay-web/src/main/webapp/WEB-INF/web.xml
  29. 4 0
      zheng-ucenter/zheng-ucenter-home/src/main/resources/i18n/messages_en_US.properties
  30. 4 0
      zheng-ucenter/zheng-ucenter-home/src/main/resources/i18n/messages_zh_CN.properties
  31. 17 0
      zheng-ucenter/zheng-ucenter-home/src/main/webapp/WEB-INF/jsp/403.jsp
  32. 1 1
      zheng-ucenter/zheng-ucenter-home/src/main/webapp/WEB-INF/jsp/500.jsp
  33. 17 0
      zheng-ucenter/zheng-ucenter-home/src/main/webapp/WEB-INF/jsp/error.jsp
  34. 8 0
      zheng-ucenter/zheng-ucenter-home/src/main/webapp/WEB-INF/web.xml
  35. 4 0
      zheng-upms/zheng-upms-server/src/main/resources/i18n/messages_en_US.properties
  36. 4 0
      zheng-upms/zheng-upms-server/src/main/resources/i18n/messages_zh_CN.properties
  37. 17 0
      zheng-upms/zheng-upms-server/src/main/webapp/WEB-INF/jsp/403.jsp
  38. 1 1
      zheng-upms/zheng-upms-server/src/main/webapp/WEB-INF/jsp/500.jsp
  39. 17 0
      zheng-upms/zheng-upms-server/src/main/webapp/WEB-INF/jsp/error.jsp
  40. 8 0
      zheng-upms/zheng-upms-server/src/main/webapp/WEB-INF/web.xml
  41. 4 0
      zheng-wechat-mp/zheng-wechat-mp-admin/src/main/resources/i18n/messages_en_US.properties
  42. 4 0
      zheng-wechat-mp/zheng-wechat-mp-admin/src/main/resources/i18n/messages_zh_CN.properties
  43. 17 0
      zheng-wechat-mp/zheng-wechat-mp-admin/src/main/webapp/WEB-INF/jsp/403.jsp
  44. 1 1
      zheng-wechat-mp/zheng-wechat-mp-admin/src/main/webapp/WEB-INF/jsp/500.jsp
  45. 17 0
      zheng-wechat-mp/zheng-wechat-mp-admin/src/main/webapp/WEB-INF/jsp/error.jsp
  46. 8 0
      zheng-wechat-mp/zheng-wechat-mp-admin/src/main/webapp/WEB-INF/web.xml

+ 4 - 1
zheng-cms/zheng-cms-admin/src/main/resources/i18n/messages_en_US.properties

@@ -1 +1,4 @@
-404=page not found!
+403=Access forbidden!
+404=Page not found!
+500=Internal server error!
+error=Server error!

+ 4 - 1
zheng-cms/zheng-cms-admin/src/main/resources/i18n/messages_zh_CN.properties

@@ -1 +1,4 @@
-404=\u9875\u9762\u6CA1\u6709\u627E\u5230\uFF01
+403=\u6CA1\u6709\u6743\u9650\uFF01
+404=\u9875\u9762\u6CA1\u6709\u627E\u5230\uFF01
+500=\u5185\u90E8\u670D\u52A1\u5668\u9519\u8BEF\uFF01
+error=\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF01

+ 17 - 0
zheng-cms/zheng-cms-admin/src/main/webapp/WEB-INF/jsp/403.jsp

@@ -0,0 +1,17 @@
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
+<c:set var="basePath" value="${pageContext.request.contextPath}"/>
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8"/>
+<title><spring:message code="403"/></title>
+</head>
+<body>
+403
+</body>
+</html>

+ 1 - 1
zheng-cms/zheng-cms-admin/src/main/webapp/WEB-INF/jsp/500.jsp

@@ -9,7 +9,7 @@
 <html>
 <html>
 <head>
 <head>
 <meta charset="utf-8"/>
 <meta charset="utf-8"/>
-<title>500</title>
+<title><spring:message code="500"/></title>
 </head>
 </head>
 <body>
 <body>
 <center style="margin:50px auto">
 <center style="margin:50px auto">

+ 17 - 0
zheng-cms/zheng-cms-admin/src/main/webapp/WEB-INF/jsp/error.jsp

@@ -0,0 +1,17 @@
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
+<c:set var="basePath" value="${pageContext.request.contextPath}"/>
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8"/>
+<title><spring:message code="error"/></title>
+</head>
+<body>
+error
+</body>
+</html>

+ 8 - 0
zheng-cms/zheng-cms-admin/src/main/webapp/WEB-INF/web.xml

@@ -111,6 +111,10 @@
     </welcome-file-list>
     </welcome-file-list>
 
 
     <!-- 错误页面 -->
     <!-- 错误页面 -->
+    <error-page>
+        <error-code>403</error-code>
+        <location>/WEB-INF/jsp/403.jsp</location>
+    </error-page>
     <error-page>
     <error-page>
         <error-code>404</error-code>
         <error-code>404</error-code>
         <location>/WEB-INF/jsp/404.jsp</location>
         <location>/WEB-INF/jsp/404.jsp</location>
@@ -119,4 +123,8 @@
         <error-code>500</error-code>
         <error-code>500</error-code>
         <location>/WEB-INF/jsp/500.jsp</location>
         <location>/WEB-INF/jsp/500.jsp</location>
     </error-page>
     </error-page>
+    <error-page>
+        <exception-type>java.lang.Throwable</exception-type>
+        <location>/WEB-INF/jsp/error.jsp</location>
+    </error-page>
 </web-app>
 </web-app>

+ 17 - 0
zheng-cms/zheng-cms-search/src/main/webapp/WEB-INF/jsp/403.jsp

@@ -0,0 +1,17 @@
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
+<c:set var="basePath" value="${pageContext.request.contextPath}"/>
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8"/>
+<title><spring:message code="403"/></title>
+</head>
+<body>
+403
+</body>
+</html>

+ 1 - 1
zheng-cms/zheng-cms-search/src/main/webapp/WEB-INF/jsp/500.jsp

@@ -9,7 +9,7 @@
 <html>
 <html>
 <head>
 <head>
 <meta charset="utf-8"/>
 <meta charset="utf-8"/>
-<title>500</title>
+<title><spring:message code="500"/></title>
 </head>
 </head>
 <body>
 <body>
 <center style="margin:50px auto">
 <center style="margin:50px auto">

+ 17 - 0
zheng-cms/zheng-cms-search/src/main/webapp/WEB-INF/jsp/error.jsp

@@ -0,0 +1,17 @@
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
+<c:set var="basePath" value="${pageContext.request.contextPath}"/>
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8"/>
+<title><spring:message code="error"/></title>
+</head>
+<body>
+error
+</body>
+</html>

+ 8 - 0
zheng-cms/zheng-cms-search/src/main/webapp/WEB-INF/web.xml

@@ -86,6 +86,10 @@
     </welcome-file-list>
     </welcome-file-list>
 
 
     <!-- 错误页面 -->
     <!-- 错误页面 -->
+    <error-page>
+        <error-code>403</error-code>
+        <location>/WEB-INF/jsp/403.jsp</location>
+    </error-page>
     <error-page>
     <error-page>
         <error-code>404</error-code>
         <error-code>404</error-code>
         <location>/WEB-INF/jsp/404.jsp</location>
         <location>/WEB-INF/jsp/404.jsp</location>
@@ -94,4 +98,8 @@
         <error-code>500</error-code>
         <error-code>500</error-code>
         <location>/WEB-INF/jsp/500.jsp</location>
         <location>/WEB-INF/jsp/500.jsp</location>
     </error-page>
     </error-page>
+    <error-page>
+        <exception-type>java.lang.Throwable</exception-type>
+        <location>/WEB-INF/jsp/error.jsp</location>
+    </error-page>
 </web-app>
 </web-app>

+ 4 - 1
zheng-cms/zheng-cms-web/src/main/resources/i18n/messages_en_US.properties

@@ -1 +1,4 @@
-404=page not found!
+403=Access forbidden!
+404=Page not found!
+500=Internal server error!
+error=Server error!

+ 4 - 1
zheng-cms/zheng-cms-web/src/main/resources/i18n/messages_zh_CN.properties

@@ -1 +1,4 @@
-404=\u9875\u9762\u6CA1\u6709\u627E\u5230\uFF01
+403=\u6CA1\u6709\u6743\u9650\uFF01
+404=\u9875\u9762\u6CA1\u6709\u627E\u5230\uFF01
+500=\u5185\u90E8\u670D\u52A1\u5668\u9519\u8BEF\uFF01
+error=\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF01

+ 17 - 0
zheng-cms/zheng-cms-web/src/main/webapp/WEB-INF/jsp/403.jsp

@@ -0,0 +1,17 @@
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
+<c:set var="basePath" value="${pageContext.request.contextPath}"/>
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8"/>
+<title><spring:message code="403"/></title>
+</head>
+<body>
+403
+</body>
+</html>

+ 1 - 1
zheng-cms/zheng-cms-web/src/main/webapp/WEB-INF/jsp/500.jsp

@@ -9,7 +9,7 @@
 <html>
 <html>
 <head>
 <head>
 <meta charset="utf-8"/>
 <meta charset="utf-8"/>
-<title>500</title>
+<title><spring:message code="500"/></title>
 </head>
 </head>
 <body>
 <body>
 <center style="margin:50px auto">
 <center style="margin:50px auto">

+ 17 - 0
zheng-cms/zheng-cms-web/src/main/webapp/WEB-INF/jsp/error.jsp

@@ -0,0 +1,17 @@
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
+<c:set var="basePath" value="${pageContext.request.contextPath}"/>
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8"/>
+<title><spring:message code="error"/></title>
+</head>
+<body>
+error
+</body>
+</html>

+ 8 - 0
zheng-cms/zheng-cms-web/src/main/webapp/WEB-INF/web.xml

@@ -74,6 +74,10 @@
 	</welcome-file-list>
 	</welcome-file-list>
 
 
 	<!-- 错误页面 -->
 	<!-- 错误页面 -->
+	<error-page>
+		<error-code>403</error-code>
+		<location>/WEB-INF/jsp/403.jsp</location>
+	</error-page>
 	<error-page>
 	<error-page>
 		<error-code>404</error-code>
 		<error-code>404</error-code>
 		<location>/WEB-INF/jsp/404.jsp</location>
 		<location>/WEB-INF/jsp/404.jsp</location>
@@ -82,4 +86,8 @@
 		<error-code>500</error-code>
 		<error-code>500</error-code>
 		<location>/WEB-INF/jsp/500.jsp</location>
 		<location>/WEB-INF/jsp/500.jsp</location>
 	</error-page>
 	</error-page>
+	<error-page>
+		<exception-type>java.lang.Throwable</exception-type>
+		<location>/WEB-INF/jsp/error.jsp</location>
+	</error-page>
 </web-app>
 </web-app>

+ 4 - 0
zheng-pay/zheng-pay-admin/src/main/resources/i18n/messages_en_US.properties

@@ -0,0 +1,4 @@
+403=Access forbidden!
+404=Page not found!
+500=Internal server error!
+error=Server error!

+ 4 - 0
zheng-pay/zheng-pay-admin/src/main/resources/i18n/messages_zh_CN.properties

@@ -0,0 +1,4 @@
+403=\u6CA1\u6709\u6743\u9650\uFF01
+404=\u9875\u9762\u6CA1\u6709\u627E\u5230\uFF01
+500=\u5185\u90E8\u670D\u52A1\u5668\u9519\u8BEF\uFF01
+error=\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF01

+ 17 - 0
zheng-pay/zheng-pay-admin/src/main/webapp/WEB-INF/jsp/403.jsp

@@ -0,0 +1,17 @@
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
+<c:set var="basePath" value="${pageContext.request.contextPath}"/>
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8"/>
+<title><spring:message code="403"/></title>
+</head>
+<body>
+403
+</body>
+</html>

+ 1 - 1
zheng-pay/zheng-pay-admin/src/main/webapp/WEB-INF/jsp/500.jsp

@@ -9,7 +9,7 @@
 <html>
 <html>
 <head>
 <head>
 <meta charset="utf-8"/>
 <meta charset="utf-8"/>
-<title>500</title>
+<title><spring:message code="500"/></title>
 </head>
 </head>
 <body>
 <body>
 <center style="margin:50px auto">
 <center style="margin:50px auto">

+ 17 - 0
zheng-pay/zheng-pay-admin/src/main/webapp/WEB-INF/jsp/error.jsp

@@ -0,0 +1,17 @@
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
+<c:set var="basePath" value="${pageContext.request.contextPath}"/>
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8"/>
+<title><spring:message code="error"/></title>
+</head>
+<body>
+error
+</body>
+</html>

+ 8 - 0
zheng-pay/zheng-pay-admin/src/main/webapp/WEB-INF/web.xml

@@ -86,6 +86,10 @@
     </welcome-file-list>
     </welcome-file-list>
 
 
     <!-- 错误页面 -->
     <!-- 错误页面 -->
+    <error-page>
+        <error-code>403</error-code>
+        <location>/WEB-INF/jsp/403.jsp</location>
+    </error-page>
     <error-page>
     <error-page>
         <error-code>404</error-code>
         <error-code>404</error-code>
         <location>/WEB-INF/jsp/404.jsp</location>
         <location>/WEB-INF/jsp/404.jsp</location>
@@ -94,4 +98,8 @@
         <error-code>500</error-code>
         <error-code>500</error-code>
         <location>/WEB-INF/jsp/500.jsp</location>
         <location>/WEB-INF/jsp/500.jsp</location>
     </error-page>
     </error-page>
+    <error-page>
+        <exception-type>java.lang.Throwable</exception-type>
+        <location>/WEB-INF/jsp/error.jsp</location>
+    </error-page>
 </web-app>
 </web-app>

+ 4 - 0
zheng-pay/zheng-pay-web/src/main/resources/i18n/messages_en_US.properties

@@ -0,0 +1,4 @@
+403=Access forbidden!
+404=Page not found!
+500=Internal server error!
+error=Server error!

+ 4 - 0
zheng-pay/zheng-pay-web/src/main/resources/i18n/messages_zh_CN.properties

@@ -0,0 +1,4 @@
+403=\u6CA1\u6709\u6743\u9650\uFF01
+404=\u9875\u9762\u6CA1\u6709\u627E\u5230\uFF01
+500=\u5185\u90E8\u670D\u52A1\u5668\u9519\u8BEF\uFF01
+error=\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF01

+ 17 - 0
zheng-pay/zheng-pay-web/src/main/webapp/WEB-INF/jsp/403.jsp

@@ -0,0 +1,17 @@
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
+<c:set var="basePath" value="${pageContext.request.contextPath}"/>
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8"/>
+<title><spring:message code="403"/></title>
+</head>
+<body>
+403
+</body>
+</html>

+ 1 - 1
zheng-pay/zheng-pay-web/src/main/webapp/WEB-INF/jsp/500.jsp

@@ -9,7 +9,7 @@
 <html>
 <html>
 <head>
 <head>
 <meta charset="utf-8"/>
 <meta charset="utf-8"/>
-<title>500</title>
+<title><spring:message code="500"/></title>
 </head>
 </head>
 <body>
 <body>
 <center style="margin:50px auto">
 <center style="margin:50px auto">

+ 17 - 0
zheng-pay/zheng-pay-web/src/main/webapp/WEB-INF/jsp/error.jsp

@@ -0,0 +1,17 @@
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
+<c:set var="basePath" value="${pageContext.request.contextPath}"/>
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8"/>
+<title><spring:message code="error"/></title>
+</head>
+<body>
+error
+</body>
+</html>

+ 8 - 0
zheng-pay/zheng-pay-web/src/main/webapp/WEB-INF/web.xml

@@ -86,6 +86,10 @@
     </welcome-file-list>
     </welcome-file-list>
 
 
     <!-- 错误页面 -->
     <!-- 错误页面 -->
+    <error-page>
+        <error-code>403</error-code>
+        <location>/WEB-INF/jsp/403.jsp</location>
+    </error-page>
     <error-page>
     <error-page>
         <error-code>404</error-code>
         <error-code>404</error-code>
         <location>/WEB-INF/jsp/404.jsp</location>
         <location>/WEB-INF/jsp/404.jsp</location>
@@ -94,4 +98,8 @@
         <error-code>500</error-code>
         <error-code>500</error-code>
         <location>/WEB-INF/jsp/500.jsp</location>
         <location>/WEB-INF/jsp/500.jsp</location>
     </error-page>
     </error-page>
+    <error-page>
+        <exception-type>java.lang.Throwable</exception-type>
+        <location>/WEB-INF/jsp/error.jsp</location>
+    </error-page>
 </web-app>
 </web-app>

+ 4 - 0
zheng-ucenter/zheng-ucenter-home/src/main/resources/i18n/messages_en_US.properties

@@ -0,0 +1,4 @@
+403=Access forbidden!
+404=Page not found!
+500=Internal server error!
+error=Server error!

+ 4 - 0
zheng-ucenter/zheng-ucenter-home/src/main/resources/i18n/messages_zh_CN.properties

@@ -0,0 +1,4 @@
+403=\u6CA1\u6709\u6743\u9650\uFF01
+404=\u9875\u9762\u6CA1\u6709\u627E\u5230\uFF01
+500=\u5185\u90E8\u670D\u52A1\u5668\u9519\u8BEF\uFF01
+error=\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF01

+ 17 - 0
zheng-ucenter/zheng-ucenter-home/src/main/webapp/WEB-INF/jsp/403.jsp

@@ -0,0 +1,17 @@
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
+<c:set var="basePath" value="${pageContext.request.contextPath}"/>
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8"/>
+<title><spring:message code="403"/></title>
+</head>
+<body>
+403
+</body>
+</html>

+ 1 - 1
zheng-ucenter/zheng-ucenter-home/src/main/webapp/WEB-INF/jsp/500.jsp

@@ -9,7 +9,7 @@
 <html>
 <html>
 <head>
 <head>
 <meta charset="utf-8"/>
 <meta charset="utf-8"/>
-<title>500</title>
+<title><spring:message code="500"/></title>
 </head>
 </head>
 <body>
 <body>
 <center style="margin:50px auto">
 <center style="margin:50px auto">

+ 17 - 0
zheng-ucenter/zheng-ucenter-home/src/main/webapp/WEB-INF/jsp/error.jsp

@@ -0,0 +1,17 @@
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
+<c:set var="basePath" value="${pageContext.request.contextPath}"/>
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8"/>
+<title><spring:message code="error"/></title>
+</head>
+<body>
+error
+</body>
+</html>

+ 8 - 0
zheng-ucenter/zheng-ucenter-home/src/main/webapp/WEB-INF/web.xml

@@ -86,6 +86,10 @@
     </welcome-file-list>
     </welcome-file-list>
 
 
     <!-- 错误页面 -->
     <!-- 错误页面 -->
+    <error-page>
+        <error-code>403</error-code>
+        <location>/WEB-INF/jsp/403.jsp</location>
+    </error-page>
     <error-page>
     <error-page>
         <error-code>404</error-code>
         <error-code>404</error-code>
         <location>/WEB-INF/jsp/404.jsp</location>
         <location>/WEB-INF/jsp/404.jsp</location>
@@ -94,4 +98,8 @@
         <error-code>500</error-code>
         <error-code>500</error-code>
         <location>/WEB-INF/jsp/500.jsp</location>
         <location>/WEB-INF/jsp/500.jsp</location>
     </error-page>
     </error-page>
+    <error-page>
+        <exception-type>java.lang.Throwable</exception-type>
+        <location>/WEB-INF/jsp/error.jsp</location>
+    </error-page>
 </web-app>
 </web-app>

+ 4 - 0
zheng-upms/zheng-upms-server/src/main/resources/i18n/messages_en_US.properties

@@ -0,0 +1,4 @@
+403=Access forbidden!
+404=Page not found!
+500=Internal server error!
+error=Server error!

+ 4 - 0
zheng-upms/zheng-upms-server/src/main/resources/i18n/messages_zh_CN.properties

@@ -0,0 +1,4 @@
+403=\u6CA1\u6709\u6743\u9650\uFF01
+404=\u9875\u9762\u6CA1\u6709\u627E\u5230\uFF01
+500=\u5185\u90E8\u670D\u52A1\u5668\u9519\u8BEF\uFF01
+error=\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF01

+ 17 - 0
zheng-upms/zheng-upms-server/src/main/webapp/WEB-INF/jsp/403.jsp

@@ -0,0 +1,17 @@
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
+<c:set var="basePath" value="${pageContext.request.contextPath}"/>
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8"/>
+<title><spring:message code="403"/></title>
+</head>
+<body>
+403
+</body>
+</html>

+ 1 - 1
zheng-upms/zheng-upms-server/src/main/webapp/WEB-INF/jsp/500.jsp

@@ -9,7 +9,7 @@
 <html>
 <html>
 <head>
 <head>
 <meta charset="utf-8"/>
 <meta charset="utf-8"/>
-<title>500</title>
+<title><spring:message code="500"/></title>
 </head>
 </head>
 <body>
 <body>
 <center style="margin:50px auto">
 <center style="margin:50px auto">

+ 17 - 0
zheng-upms/zheng-upms-server/src/main/webapp/WEB-INF/jsp/error.jsp

@@ -0,0 +1,17 @@
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
+<c:set var="basePath" value="${pageContext.request.contextPath}"/>
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8"/>
+<title><spring:message code="error"/></title>
+</head>
+<body>
+error
+</body>
+</html>

+ 8 - 0
zheng-upms/zheng-upms-server/src/main/webapp/WEB-INF/web.xml

@@ -125,6 +125,10 @@
     </welcome-file-list>
     </welcome-file-list>
 
 
     <!-- 错误页面 -->
     <!-- 错误页面 -->
+    <error-page>
+        <error-code>403</error-code>
+        <location>/WEB-INF/jsp/403.jsp</location>
+    </error-page>
     <error-page>
     <error-page>
         <error-code>404</error-code>
         <error-code>404</error-code>
         <location>/WEB-INF/jsp/404.jsp</location>
         <location>/WEB-INF/jsp/404.jsp</location>
@@ -133,4 +137,8 @@
         <error-code>500</error-code>
         <error-code>500</error-code>
         <location>/WEB-INF/jsp/500.jsp</location>
         <location>/WEB-INF/jsp/500.jsp</location>
     </error-page>
     </error-page>
+    <error-page>
+        <exception-type>java.lang.Throwable</exception-type>
+        <location>/WEB-INF/jsp/error.jsp</location>
+    </error-page>
 </web-app>
 </web-app>

+ 4 - 0
zheng-wechat-mp/zheng-wechat-mp-admin/src/main/resources/i18n/messages_en_US.properties

@@ -0,0 +1,4 @@
+403=Access forbidden!
+404=Page not found!
+500=Internal server error!
+error=Server error!

+ 4 - 0
zheng-wechat-mp/zheng-wechat-mp-admin/src/main/resources/i18n/messages_zh_CN.properties

@@ -0,0 +1,4 @@
+403=\u6CA1\u6709\u6743\u9650\uFF01
+404=\u9875\u9762\u6CA1\u6709\u627E\u5230\uFF01
+500=\u5185\u90E8\u670D\u52A1\u5668\u9519\u8BEF\uFF01
+error=\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF01

+ 17 - 0
zheng-wechat-mp/zheng-wechat-mp-admin/src/main/webapp/WEB-INF/jsp/403.jsp

@@ -0,0 +1,17 @@
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
+<c:set var="basePath" value="${pageContext.request.contextPath}"/>
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8"/>
+<title><spring:message code="403"/></title>
+</head>
+<body>
+403
+</body>
+</html>

+ 1 - 1
zheng-wechat-mp/zheng-wechat-mp-admin/src/main/webapp/WEB-INF/jsp/500.jsp

@@ -9,7 +9,7 @@
 <html>
 <html>
 <head>
 <head>
 <meta charset="utf-8"/>
 <meta charset="utf-8"/>
-<title>500</title>
+<title><spring:message code="500"/></title>
 </head>
 </head>
 <body>
 <body>
 <center style="margin:50px auto">
 <center style="margin:50px auto">

+ 17 - 0
zheng-wechat-mp/zheng-wechat-mp-admin/src/main/webapp/WEB-INF/jsp/error.jsp

@@ -0,0 +1,17 @@
+<%@ page contentType="text/html; charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
+<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
+<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
+<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
+<c:set var="basePath" value="${pageContext.request.contextPath}"/>
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8"/>
+<title><spring:message code="error"/></title>
+</head>
+<body>
+error
+</body>
+</html>

+ 8 - 0
zheng-wechat-mp/zheng-wechat-mp-admin/src/main/webapp/WEB-INF/web.xml

@@ -86,6 +86,10 @@
     </welcome-file-list>
     </welcome-file-list>
 
 
     <!-- 错误页面 -->
     <!-- 错误页面 -->
+    <error-page>
+        <error-code>403</error-code>
+        <location>/WEB-INF/jsp/403.jsp</location>
+    </error-page>
     <error-page>
     <error-page>
         <error-code>404</error-code>
         <error-code>404</error-code>
         <location>/WEB-INF/jsp/404.jsp</location>
         <location>/WEB-INF/jsp/404.jsp</location>
@@ -94,4 +98,8 @@
         <error-code>500</error-code>
         <error-code>500</error-code>
         <location>/WEB-INF/jsp/500.jsp</location>
         <location>/WEB-INF/jsp/500.jsp</location>
     </error-page>
     </error-page>
+    <error-page>
+        <exception-type>java.lang.Throwable</exception-type>
+        <location>/WEB-INF/jsp/error.jsp</location>
+    </error-page>
 </web-app>
 </web-app>