1、错误异常界面国际化;2、服务请求异常国际化;3、文件样例界面样式修改。
This commit is contained in:
@@ -3,7 +3,7 @@ response.setStatus(404);
|
||||
|
||||
// 如果是异步请求或是手机端,则直接返回信息
|
||||
if (Servlets.isAjaxRequest(request)) {
|
||||
out.print("页面不存在.");
|
||||
out.print("<spring:message code=\"notfound_page\"/>.");
|
||||
}
|
||||
|
||||
//输出异常信息页面
|
||||
@@ -15,13 +15,13 @@ else {
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>404 - 页面不存在</title>
|
||||
<title>404 - <spring:message code="notfound_page"/></title>
|
||||
<%@include file="/WEB-INF/include/header.jsp" %>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-fluid">
|
||||
<div class="page-header"><h1>404-页面不存在.</h1></div>
|
||||
<div><a href="javascript:" onclick="history.go(-1);" class="btn">返回上一页</a></div>
|
||||
<div class="page-header"><h1>404-<spring:message code="notfound_page"/>.</h1></div>
|
||||
<div><a href="javascript:" onclick="history.go(-1);" class="btn"><spring:message code="return_lastpage"/></a></div>
|
||||
<script>try{top.$.jBox.closeTip();}catch(e){}</script>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user