error.jsp 1.8 KB
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
    <meta content="telephone=no" name="format-detection" />
    <meta content="default" name="apple-mobile-web-app-status-bar-style" />
    <meta content="black-translucent" name="apple-mobile-web-app-status-bar-style" />
    <meta content="email=no" name="format-detection"/>
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <title>支付错误</title>
    <meta name="Keywords" content="支付错误" />
    <meta name="Description" content="" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
   	<style type="text/css">
	   	.result {
			position: relative;
			margin: 80px 20px 0 20px;
		}
   		.result_detail {
			margin-left: 105px;
			height: 60px;
			font-size: 14px;
			color: #6A6A6A;
			padding-top: 20px;
		}
		.outer {
			display: table;
			width: 100%;
			height: 100%;
		}
		.middle {
			display: table-cell;
			height: 100%;
			vertical-align: middle;
		}
   	</style>
</head>
<body class="bgfff">
    <section class="main">
        <div class="result">
            <img src="<%=basePath%>resources/wxPay/images/fail.png" style="float: left; height:50px; width:50px;"/>
            <div class="result_detail">
                <div class="outer">
                    <p class="middle">${msg }。</p>
                </div>
            </div>
        </div>
    </section>
</body>
</html>