⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 yonghujieyuejilu.jsp

📁 JSP实现图书管理系统简单功能的具体设计与实现
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@include file="sql2005_book.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="refresh" content="0;URL=guanlizhe.htm">
<title>无标题文档</title>
</head>

<body>
<%
request.setCharacterEncoding("GBK");
String uname = request.getParameter("uname").trim();
String bid = request.getParameter("bid");
String sql = "{call userLendRegister(?,?)}";
cstmt=conn.prepareCall(sql);
cstmt.setString(1,uname);
cstmt.setString(2,bid);
cstmt.executeUpdate();
cstmt.close();
conn.close();
%>
    <script LANGUAGE="JavaScript">
alert("已成功登记!")
  </script>
</body>
</html>

⌨️ 快捷键说明

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