<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script>
function openResult(){ /* 绑定事件 */
var r = confirm("亲,您确定取消该订单吗?")
if (r == true) {
window.location.href="登录页面.jsp"
} else {
}
}
</script>
</head>
<body>
<input type="button" onclick="openResult()" value="退出"/>
</body>
</html>