统一403异常页面

This commit is contained in:
shuzheng 2017-02-05 23:18:23 +08:00
parent d04c6fb10a
commit 738c5d2d4a
10 changed files with 50 additions and 10 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>