Browse Source

统一403异常页面

shuzheng 9 years ago
parent
commit
738c5d2d4a

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

@@ -12,6 +12,10 @@
 <title><spring:message code="403"/></title>
 </head>
 <body>
-403
+<% Exception e = (Exception)request.getAttribute("ex"); %>
+<h2>错误: <%= e.getClass().getSimpleName()%></h2>
+<hr />
+<h5>错误描述:</h5>
+<%= e.getMessage()%>
 </body>
 </html>

+ 5 - 1
zheng-cms/zheng-cms-job/src/main/webapp/WEB-INF/jsp/403.jsp

@@ -12,6 +12,10 @@
 <title><spring:message code="403"/></title>
 </head>
 <body>
-403
+<% Exception e = (Exception)request.getAttribute("ex"); %>
+<h2>错误: <%= e.getClass().getSimpleName()%></h2>
+<hr />
+<h5>错误描述:</h5>
+<%= e.getMessage()%>
 </body>
 </html>

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

@@ -12,6 +12,10 @@
 <title><spring:message code="403"/></title>
 </head>
 <body>
-403
+<% Exception e = (Exception)request.getAttribute("ex"); %>
+<h2>错误: <%= e.getClass().getSimpleName()%></h2>
+<hr />
+<h5>错误描述:</h5>
+<%= e.getMessage()%>
 </body>
 </html>

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

@@ -12,6 +12,10 @@
 <title><spring:message code="403"/></title>
 </head>
 <body>
-403
+<% Exception e = (Exception)request.getAttribute("ex"); %>
+<h2>错误: <%= e.getClass().getSimpleName()%></h2>
+<hr />
+<h5>错误描述:</h5>
+<%= e.getMessage()%>
 </body>
 </html>

+ 5 - 1
zheng-oss/zheng-oss-web/src/main/webapp/WEB-INF/jsp/403.jsp

@@ -12,6 +12,10 @@
 <title><spring:message code="403"/></title>
 </head>
 <body>
-403
+<% Exception e = (Exception)request.getAttribute("ex"); %>
+<h2>错误: <%= e.getClass().getSimpleName()%></h2>
+<hr />
+<h5>错误描述:</h5>
+<%= e.getMessage()%>
 </body>
 </html>

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

@@ -12,6 +12,10 @@
 <title><spring:message code="403"/></title>
 </head>
 <body>
-403
+<% Exception e = (Exception)request.getAttribute("ex"); %>
+<h2>错误: <%= e.getClass().getSimpleName()%></h2>
+<hr />
+<h5>错误描述:</h5>
+<%= e.getMessage()%>
 </body>
 </html>

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

@@ -12,6 +12,10 @@
 <title><spring:message code="403"/></title>
 </head>
 <body>
-403
+<% Exception e = (Exception)request.getAttribute("ex"); %>
+<h2>错误: <%= e.getClass().getSimpleName()%></h2>
+<hr />
+<h5>错误描述:</h5>
+<%= e.getMessage()%>
 </body>
 </html>

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

@@ -12,6 +12,10 @@
 <title><spring:message code="403"/></title>
 </head>
 <body>
-403
+<% Exception e = (Exception)request.getAttribute("ex"); %>
+<h2>错误: <%= e.getClass().getSimpleName()%></h2>
+<hr />
+<h5>错误描述:</h5>
+<%= e.getMessage()%>
 </body>
 </html>

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

@@ -12,6 +12,10 @@
 <title><spring:message code="403"/></title>
 </head>
 <body>
-403
+<% Exception e = (Exception)request.getAttribute("ex"); %>
+<h2>错误: <%= e.getClass().getSimpleName()%></h2>
+<hr />
+<h5>错误描述:</h5>
+<%= e.getMessage()%>
 </body>
 </html>

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

@@ -12,6 +12,10 @@
 <title><spring:message code="403"/></title>
 </head>
 <body>
-403
+<% Exception e = (Exception)request.getAttribute("ex"); %>
+<h2>错误: <%= e.getClass().getSimpleName()%></h2>
+<hr />
+<h5>错误描述:</h5>
+<%= e.getMessage()%>
 </body>
 </html>