delsinglecustomerdeal.jsp

来自「java 数据库编程源代码」· JSP 代码 · 共 29 行

JSP
29
字号
<%
/**
 * Title:			商店购物管理系统的完整实现
 * Description:			教学示范
 * Copyright:			Copyright (c) 2003
 * Company:			北京师范大学计算机系
 * @author			孙一林
 * @version			1.0
 */
%>
<%@ page contentType="text/html; charset=GBK" %>
<html>
<%@ page import="java.sql.*"%>
<jsp:useBean id="shopManageBean" scope="session" class="shopmanagesystem.shopManageSystemBean"/>  <%/*使用shopManageSystemBean的实例*/%>
<head>
<%
  String customerName = new String(request.getParameter("customerName").getBytes("8859_1"));    //获取用户指定删除的顾客交易中的顾客姓名
%>
<title>删除顾客<%=customerName%>的交易记录</title>
</head>
<body>
<%
  shopManageBean.delSingleCustomerDeal(customerName);    //删除指定顾客姓名的顾客交易记录
  out.println("<h2 align=center>删除顾客" + customerName +"的交易记录成功</h2>");
  out.println("<p align=center><a href=customerDeal.jsp>返回</a></p>");
%>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?