allbook.jsp

    pageEncoding="UTF-8"%>

    <%@ page import = "java.util.*" %>
<%@page import="com.book.service.*" %>
<%@page import="com.book.entity.*" %>
<%@page import="com.book.dao.*" %>
<jsp:useBean id="bse" class="com.book.service.BookService" scope="page"></jsp:useBean>
<jsp:useBean id="bm" class="com.book.entity.BookManage" scope="page"></jsp:useBean>
<jsp:useBean id="dao" class="com.book.dao.BookManageDao" scope="page"></jsp:useBean>
<%
List<BookManage> list = dao.checkAll();
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="menu.css"/>
</head>
<body>
<main>
<section class="glass">
<div>
<p class="tip">全部书籍</p>
</div>
<div class="dateshow">
<table>
<tr>
<th>编号</th>
<th>书名</th>
<th>作者</th>
<th>出版日期</th>
<th>类型</th>
<th>库存</th>
</tr>
<%for(BookManage book : list){
%>
<tr>
<td><%=book.getB_id() %></td>
<td><%=book.getB_name() %></td>
<td><%=book.getB_author() %></td>
<td><%=book.getB_date() %></td>
<td><%=book.getB_type() %></td>
<td><%=book.getB_stock() %></td>
</tr>
<%
}
%> </table>
</div>
<div class="foot1">
<a href="menu.jsp">返回首页</a>
</div>
</section>
</main>
</body>
<script type="text/javascript"> </script>
</html>

borrow.jsp

 pageEncoding="UTF-8"%>

 <%@ page import = "java.util.*" %>
<%@page import="com.book.service.*" %>
<%@page import="com.book.entity.*" %>
<%@page import="com.book.dao.*" %>
<jsp:useBean id="bse" class="com.book.service.BookService" scope="page"></jsp:useBean>
<jsp:useBean id="bm" class="com.book.entity.BookManage" scope="page"></jsp:useBean>
<jsp:useBean id="dao" class="com.book.dao.BookManageDao" scope="page"></jsp:useBean>
<%
List<BookManage> list = dao.checkAll();
int id = 0;
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="menu.css"/>
</head>
<body>
<main>
<section class="glass">
<div>
<p class="tip">请输入借出书籍的编号、书名,谢谢!</p>
</div>
<form action="onborrow.jsp" method="post">
<p>书籍编号:</p>
<input type="text" id="bnumber" name="bnumber"/>
<p>书籍名:</p>
<input type="text" id="bname" name="bname"/>
<input type="submit" id="submit" name="submit" value="借书"/>
</form>
<%
String jud = (String)session.getAttribute("jud");
if(jud == "true"){
%>
<script>
alert("借书成功!");
</script>
<%
session.setAttribute("jud", "");
}else if(jud == "false"){
%>
<script>
alert("借书失败!");
</script>
<%
session.setAttribute("jud", "");
}
%>
<div class="foot">
<a href="menu.jsp">返回首页</a>
</div>
</section>
</main>
</body>
<script type="text/javascript">
function judge(){
var nu = document.getElementById("bnumber");
var na = document.getElementById("bname");
if(parseInt(nu.value) !== null && na.value !== null){
return true;
}else{
return false;
}
}
</script> </html>

check.jsp

    pageEncoding="UTF-8"%>
<%@ page import = "java.util.*" %>
<%@page import="com.book.service.*" %>
<%@page import="com.book.entity.*" %>
<%@page import="com.book.dao.*" %>
<jsp:useBean id="bse" class="com.book.service.BookService" scope="page"></jsp:useBean>
<jsp:useBean id="bm" class="com.book.entity.BookManage" scope="page"></jsp:useBean>
<jsp:useBean id="dao" class="com.book.dao.BookManageDao" scope="page"></jsp:useBean> <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="menu.css"/>
</head>
<body>
<main>
<section class="glass">
<div>
<p class="tip">请输入要查询的书籍的编号、书名,谢谢!</p>
</div>
<form action="oncheck.jsp" method="post">
<p>书籍编号:</p>
<input type="text" id="bnumber" name="bnumber"/>
<p>书籍名:</p>
<input type="text" id="bname" name="bname"/>
<input type="submit" id="submit" name="submit" value="查询"/>
</form>
<div class="foot">
<a href="menu.jsp">返回首页</a>
</div>
</section>
</main>
</body>
<script type="text/javascript">
function judge(){
var nu = document.getElementById("bnumber");
var na = document.getElementById("bname");
if(parseInt(nu.value) !== null && na.value !== null){
return true;
}else{
return false;
}
}
</script> </html>

menu.css

*{
margin: 0;
padding: 0;
box-sizing: border-box;
} main{
min-height:100vh;
background:linear-gradient(to right top,#65dfc9,#6cdbeb);
display:flex;
align-items: center;
justify-content: center;
} .glass{
background: white;
min-height: 80vh;
width:60%;
background: linear-gradient(to right bottom,rgba(255,255,255,0.7),rgba(255,255,255,0.3));
border-radius: 2rem;
z-index: 2;
backdrop-filter: blur(2rem);
} .circle1,.circle2{
background:white;
background: linear-gradient(to right bottom,rgba(255,255,255,0.8),rgba(255,255,255,0.3));
height: 20rem;
width: 20rem;
position:absolute;
border-radius: 50%;
}
.circle1{
top: 5%;
right: 15%;
}
.circle2{
top: 60%;
left: 10%;
}
.title{
position: relative;
top: 50px;
}
.element{
height: 120px;
width: 120px;
float: left;
align-items: center;
margin: 20px;
}
.link{
background:rgb(109, 211, 236);
background: linear-gradient(to right bottom,rgba(255,255,255,0.8),rgba(255,255,255,0.3));
height: 120px;
width: 120px;
border-radius: 50%;
box-shadow: 5px 5px 5px rgba(0,0,0,0.2);
display: flex;
justify-content: center;
align-items: center; }
.links{
height: 60%;
width: 100%;
position: relative;
top: 130px;
display: flex;
justify-content: center;
align-items: center;
} img{
width: 80px;
height: 80px; }
a{
font-family:Georgia, 'Times New Roman', Times, serif;
position: relative;
display: flex;
justify-content: center;
align-items: center;
color: #26cce6;
text-decoration: none;
margin-top: 25px;
font-weight: 500;
border-radius: 20px;
background-color: rgba(255,255,255,0.2);
padding: 8px 20px;
box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}
h1{
text-align: center;
font-size: 60px;
color: #26cce6;
}
.tip{
position: relative;
top: 20px;
font-size: 20px;
color: #26cce6;
text-decoration: none;
margin-top: 25px;
font-weight: 500;
border-radius: 20px;
background-color: rgba(255,255,255,0.2);
padding: 8px 20px;
}
table{
width: 100%;
position: relative;
top: 50px;
text-align:center;
vertical-align:middle;
border-top: 1px solid #999;
border-left: 1px solid #999;
border-spacing: 0;/*去掉单元格间隙*/
}
table th{
border-bottom: 1px solid #999;
border-right: 1px solid #999;
}
table td{
border-bottom: 1px solid #999;
border-right: 1px solid #999;
}
.checkshow{
width: 100%;
position: relative;
top: 30px;
display: flex;
justify-content: center;
align-items: center;
}
.tab1{
width: 100%;
position: relative;
top: 20px;
text-align:center;
vertical-align:middle;
border-top: 1px solid #999;
border-left: 1px solid #999;
border-spacing: 0;/*去掉单元格间隙*/
}
.tab1>th{
border-bottom: 1px solid #999;
border-right: 1px solid #999;
}
.tad1>td{
border-bottom: 1px solid #999;
border-right: 1px solid #999;
}
form{
position: relative;
top: 130px;
display: flex;
justify-content: center;
align-items: center;
}
.foot{
width: 100%;
position: relative;
top: 430px;
right: 20px;
display: flex;
justify-content: flex-end;
align-items: flex-end;
}
.foot1{
width: 100%;
position: relative;
top: 330px;
right: 20px;
display: flex;
justify-content: flex-end;
align-items: flex-end;
}

menu.jsp

    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>图书管理系统</title>
<link rel="stylesheet" type="text/css" href="menu.css"/>
</head>
<body>
<main>
<section class="glass">
<div class="title">
<h1>图书管理系统</h1>
</div>
<div class="links">
<div class="element">
<div class="link">
<img src="./images/borrow1.png" alt=""/>
</div>
<a href="borrow.jsp">借阅</a>
</div>
<div class="element">
<div class="link">
<img src="./images/return1.png" alt=""/>
</div>
<a href="return.jsp">还书</a>
</div>
<div class="element">
<div class="link">
<img src="./images/check1.png" alt=""/>
</div>
<a href="check.jsp">查询</a>
</div>
<div class="element">
<div class="link">
<img src="./images/book1.png" alt=""/>
</div>
<a href="allbook.jsp">书库</a>
</div>
</div> </section>
</main>
<div class="circle1"></div>
<div class="circle2"></div>
</body>
</html>``` ##onborrow.jsp
```<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%> <%@ page import = "java.util.*" %>
<%@page import="com.book.service.*" %>
<%@page import="com.book.entity.*" %>
<%@page import="com.book.dao.*" %>
<jsp:useBean id="bse" class="com.book.service.BookService" scope="page"></jsp:useBean>
<jsp:useBean id="bm" class="com.book.entity.BookManage" scope="page"></jsp:useBean>
<jsp:useBean id="dao" class="com.book.dao.BookManageDao" scope="page"></jsp:useBean>
<%
request.setCharacterEncoding("UTF-8");
String id = request.getParameter("bnumber");
String name = request.getParameter("bname"); String i = "false"; int ids = Integer.valueOf(id);
if(dao.update(ids, name) != 0){
i = "true";
session.setAttribute("jud", i);
response.sendRedirect("borrow.jsp");
}else{
i = "false";
session.setAttribute("jud", i);
response.sendRedirect("borrow.jsp");
}
%> <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
</body>
</html>```
##oncheck.jsp
```<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%> <%@ page import = "java.util.*" %>
<%@page import="com.book.service.*" %>
<%@page import="com.book.entity.*" %>
<%@page import="com.book.dao.*" %>
<jsp:useBean id="bse" class="com.book.service.BookService" scope="page"></jsp:useBean>
<jsp:useBean id="bm" class="com.book.entity.BookManage" scope="page"></jsp:useBean>
<jsp:useBean id="dao" class="com.book.dao.BookManageDao" scope="page"></jsp:useBean>
<%
request.setCharacterEncoding("UTF-8");
String id = request.getParameter("bnumber");
String name = request.getParameter("bname"); String i = "false"; int ids = Integer.valueOf(id);
List<BookManage> list = dao.check(ids,name);
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="menu.css"/>
</head>
<body>
<main>
<section class="glass">
<div>
<p class="tip">查找到的信息</p>
</div>
<div class="checkshow">
<table class="tab1">
<tr>
<th>编号</th>
<th>书名</th>
<th>作者</th>
<th>出版日期</th>
<th>类型</th>
<th>库存</th>
</tr>
<%for(BookManage book : list){
%>
<tr>
<td><%=book.getB_id() %></td>
<td><%=book.getB_name() %></td>
<td><%=book.getB_author() %></td>
<td><%=book.getB_date() %></td>
<td><%=book.getB_type() %></td>
<td><%=book.getB_stock() %></td>
</tr>
<%
}
%> </table>
</div>
<div class="foot">
<a href="menu.jsp">返回首页</a>
</div>
</section>
</main>
</body>
<script type="text/javascript"> </script>
</html>

onreturn.jsp

    pageEncoding="UTF-8"%>

    <%@ page import = "java.util.*" %>
<%@page import="com.book.service.*" %>
<%@page import="com.book.entity.*" %>
<%@page import="com.book.dao.*" %>
<jsp:useBean id="bse" class="com.book.service.BookService" scope="page"></jsp:useBean>
<jsp:useBean id="bm" class="com.book.entity.BookManage" scope="page"></jsp:useBean>
<jsp:useBean id="dao" class="com.book.dao.BookManageDao" scope="page"></jsp:useBean>
<%
request.setCharacterEncoding("UTF-8");
String id = request.getParameter("bnumber");
String name = request.getParameter("bname"); String i = "false"; int ids = Integer.valueOf(id);
if(dao.add(ids, name) != 0){
i = "true";
session.setAttribute("jud", i);
response.sendRedirect("return.jsp");
}else{
i = "false";
session.setAttribute("jud", i);
response.sendRedirect("return.jsp");
}
%> <!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
</body>
</html>

return.jsp

    pageEncoding="UTF-8"%>

    <%@ page import = "java.util.*" %>
<%@page import="com.book.service.*" %>
<%@page import="com.book.entity.*" %>
<%@page import="com.book.dao.*" %>
<jsp:useBean id="bse" class="com.book.service.BookService" scope="page"></jsp:useBean>
<jsp:useBean id="bm" class="com.book.entity.BookManage" scope="page"></jsp:useBean>
<jsp:useBean id="dao" class="com.book.dao.BookManageDao" scope="page"></jsp:useBean>
<%
int id = 0;
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="menu.css"/>
</head>
<body>
<main>
<section class="glass">
<div>
<p class="tip">请输入归还书籍的编号、书名,谢谢!</p>
</div>
<form action="onreturn.jsp" method="post">
<p>书籍编号:</p>
<input type="text" id="bnumber" name="bnumber"/>
<p>书籍名:</p>
<input type="text" id="bname" name="bname"/>
<input type="submit" id="submit" name="submit" value="还书"/>
</form>
<%
String jud = (String)session.getAttribute("jud");
if(jud == "true"){
%>
<script>
alert("还书成功!");
</script>
<%
session.setAttribute("jud", "");
}else if(jud == "false"){
%>
<script>
alert("还书失败!");
</script>
<%
session.setAttribute("jud", "");
}
%>
<div class="foot">
<a href="menu.jsp">返回首页</a>
</div>
</section>
</main>
</body>
<script type="text/javascript">
function judge(){
var nu = document.getElementById("bnumber");
var na = document.getElementById("bname");
if(parseInt(nu.value) !== null && na.value !== null){
return true;
}else{
return false;
}
}
</script> </html>

BookManageDao.java


import java.awt.print.Book;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List; import com.book.entity.BookManage; public class BookManageDao extends BaseDao{ //check *
public List<BookManage> checkAll() {
List<BookManage> list = new ArrayList<BookManage>();
Connection conn = null;
PreparedStatement ps = null;
ResultSet rs = null;
try {
conn = getConnection();
//SQL code
String sql = "select * from bookinfo";
ps = conn.prepareStatement(sql);
//run
rs = ps.executeQuery();//rs is a from
while(rs.next()) {
//everyone is a object
BookManage b = new BookManage();
b.setB_id(rs.getInt(1));
b.setB_name(rs.getString(2));
b.setB_author(rs.getString(3));
b.setB_date(rs.getString(4));
b.setB_type(rs.getInt(5));
b.setB_stock(rs.getInt(6));
list.add(b);
}
} catch (Exception e) {
// TODO: handle exception
e.printStackTrace();
}finally {
closeAll(conn, ps, null);
}
return list;
} //check query
public List<BookManage> check(int bid, String bname) {
List<BookManage> list = new ArrayList<BookManage>();
Connection conn = null;
PreparedStatement ps = null;
ResultSet rs = null;
try {
conn = getConnection();
//SQL code
String sql = "select * from bookinfo where b_id=? and b_name=?";
ps = conn.prepareStatement(sql);
ps.setInt(1, bid);
ps.setString(2, bname);
//run
rs = ps.executeQuery();//rs is a from
while(rs.next()) {
//everyone is a object
BookManage b = new BookManage();
b.setB_id(rs.getInt(1));
b.setB_name(rs.getString(2));
b.setB_author(rs.getString(3));
b.setB_date(rs.getString(4));
b.setB_type(rs.getInt(5));
b.setB_stock(rs.getInt(6));
list.add(b);
}
} catch (Exception e) {
// TODO: handle exception
e.printStackTrace();
}finally {
closeAll(conn, ps, null);
}
return list;
} //add
public int add(int bid, String bname) {
int i = 0;
Connection conn = null;
PreparedStatement ps = null; try {
//link
conn = getConnection();
//SQL code
String sql = "update bookinfo set b_stock=b_stock+1 where b_id=? and b_name=?";
//given ?
ps = conn.prepareStatement(sql);
ps.setInt(1, bid);
ps.setString(2, bname);
//run
i = ps.executeUpdate();
} catch (Exception e) {
// TODO: handle exception
e.printStackTrace();
}finally {
closeAll(conn, ps, null);
} return i; } //update
public int update(int bid, String bname) {
int i = 0;
Connection conn = null;
PreparedStatement ps = null;
try {
//link
conn = getConnection();
//SQL code
String sql = "update bookinfo set b_stock=b_stock-1 where b_id=? and b_name=?";
//given ?
ps = conn.prepareStatement(sql);
ps.setInt(1, bid);
ps.setString(2, bname);
//run
i = ps.executeUpdate();
} catch (Exception e) {
// TODO: handle exception
e.printStackTrace();
}finally {
closeAll(conn, ps, null);
} return i;
} }

BookManage.java


public class BookManage {
// b_id bigint not null auto_increment,
// b_name varchar(50) not null,
// b_author varchar(50) not null,
// b_date datetime not null,
// b_type int not null
// b_stock int(50) not null private int b_id;
private String b_name;
private String b_author;
private String b_date;
private int b_type;
private int b_stock; //空构造
public BookManage() {
super();
} // 构造
public BookManage(int b_id, String b_name, String b_author, String b_date, int b_type, int b_stock) {
super();
this.b_id = b_id;
this.b_name = b_name;
this.b_author = b_author;
this.b_date = b_date;
this.b_type = b_type;
this.b_stock = b_stock;
} public int getB_id() {
return b_id;
} public void setB_id(int b_id) {
this.b_id = b_id;
} public String getB_name() {
return b_name;
} public void setB_name(String b_name) {
this.b_name = b_name;
} public String getB_author() {
return b_author;
} public void setB_author(String b_author) {
this.b_author = b_author;
} public String getB_date() {
return b_date;
} public void setB_date(String b_date) {
this.b_date = b_date;
} public int getB_type() {
return b_type;
} public void setB_type(int b_type) {
this.b_type = b_type;
} public int getB_stock() {
return b_stock;
} public void setB_stock(int b_stock) {
this.b_stock = b_stock;
} }

BaseDao.java


import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet; public class BaseDao { //open connection
protected Connection getConnection(){
Connection conn = null; try {
Class.forName("com.mysql.jdbc.Driver");
conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/book","root","root");
} catch (Exception e) {
// TODO: handle exception
e.printStackTrace();
} return conn; } //close connection
protected void closeAll(Connection con,PreparedStatement ps,ResultSet rs) {
try {
if(rs != null) {
rs.close();
}
if(ps != null) {
ps.close();
}
if(con != null) {
con.close();
}
} catch (Exception e) {
// TODO: handle exception
e.printStackTrace();
}
} }







JSP图书管理系统的更多相关文章

  1. 放出一批jsp图书管理系统图书借阅系统源码代码运行

    基于jsp+mysql的JSP图书销售管理系统 https://www.icodedock.com/article/105.html基于jsp+Spring+Spring MVC的Spring图书借阅 ...

  2. JAVA图书管理系统汇总共27个

    好多人都在搜索图书管理系统,感觉这个挺受欢迎的,所以整理了一系列的图书管理系统,让大家选择.java图书馆管理系统[优秀毕业设计论文+源码]http://down.51cto.com/data/683 ...

  3. JAVA图书管理系统汇总共27个[转]

    java图书馆管理系统[优秀毕业设计论文+源码]http://down.51cto.com/data/68350java+sql server图书管理系统 http://down.51cto.com/ ...

  4. 基于jsp+servlet图书管理系统之后台万能模板

    前奏: 刚开始接触博客园写博客,就是写写平时学的基础知识,慢慢发现大神写的博客思路很清晰,知识很丰富,非常又价值,反思自己写的,顿时感觉非常low,有相当长一段时间没有分享自己的知识.于是静下心来钻研 ...

  5. 基于jsp+servlet图书管理系统之后台用户信息查询操作

    上一篇的博客写的是插入操作,且附有源码和数据库,这篇博客写的是查询操作,附有从头至尾写的代码(详细的注释)和数据库! 此次查询操作的源码和数据库:http://download.csdn.net/de ...

  6. 基于jsp+servlet图书管理系统之后台用户信息修改操作

    上一篇的博客写的是查询操作,且附有源码和数据库,这篇博客写的是修改操作,附有从头至尾写的代码(详细的注释)和数据库! 此次修改操作的源码和数据库:http://download.csdn.net/de ...

  7. 基于jsp+servlet图书管理系统之后台用户信息删除操作

    上一篇的博客写的是修改操作,且附有源码和数据库,这篇博客写的是删除操作,附有从头至尾写的代码(详细的注释)和数据库! 此次删除操作的源码和数据库:http://download.csdn.net/de ...

  8. 基于jsp+servlet图书管理系统之后台用户信息插入操作

    前奏: 刚开始接触博客园写博客,就是写写平时学的基础知识,慢慢发现大神写的博客思路很清晰,知识很丰富,非常又价值,反思自己写的,顿时感觉非常low,有相当长一段时间没有分享自己的知识.于是静下心来钻研 ...

  9. 简易图书管理系统(主要是jsp的练习)

    1:首先设计用户表和图书表,设计的字段和类型如下图所示 1.1:用户表user 1.2:图书表book 2:第二写实体类user.java和book.java package com.bie.po; ...

  10. struts2+hibernate 项目实战:图书管理系统

    经典项目,练手必备. 图书管理系统 需求分析(大致,并不专业):1.需要有用户管理: 1.1 用户注册: 1.2 用户登录: 1.3 用户信息修改: 1.4 用户修改密码: 2.需要有书本管理: 2. ...

随机推荐

  1. Android实现仿微信实时语音对讲功能|与女友游戏开黑

    与亲朋好友一起玩在线游戏,如果游戏中有实时语音对讲能力就可以拉进玩家之间的距离,添加更多乐趣.我们以经典的中国象棋为例,开发在线语音对讲象棋.本文主要涉及如下几个点: 在线游戏的规则,本文以中国象棋为 ...

  2. Vulhub 漏洞学习之:Apereo CAS

    Vulhub 漏洞学习之:Apereo CAS 目录 Vulhub 漏洞学习之:Apereo CAS 1 Apereo CAS 4.1 反序列化命令执行漏洞 1.1 漏洞利用过程 1 Apereo C ...

  3. postgresql索引使用情况及坏索引处理

    1.postgresql中索引系统视图pg_stat_user_indexes TEST=# \d+ sys_stat_user_indexes View "SYS_CATALOG.sys_ ...

  4. 常用的hive sql

    细节:sql 中有涉及到正则匹配函数的,要注意转义符号 因为在不同语言下正则匹配规则是否需要加转义符号是不同的,举例,regexp_replace 函数,在hive sql的正则匹配规则的 \d+ 需 ...

  5. vitis笔记1

    安装vitis2021.1 配置环境 添加环境变量 下载包 install 注意:切换到<install_dir>/Vitis//scripts/installLibs.sh,执行指令时候 ...

  6. windows 服务删除或停止

    1.命令行删除 cmd 管理员模式 net start 服务名   开启服务   net stop 服务名   停止服务   sc delete 服务名      删除服务      sc confi ...

  7. 性能提升 40 倍!我们用 Rust 重写了自己的项目

    前言 Rust 已经悄然成为了最受欢迎的编程语言之一.作为一门新兴底层系统语言,Rust 拥有着内存安全性机制.接近于 C/C++ 语言的性能优势.出色的开发者社区和体验出色的文档.工具链和IDE 等 ...

  8. 腾讯QQ v9.7.3.28946 绿色优化版

    修改历史: 2023.02.13:自改官方 9.7.3.28946 最新正式版本2023.01.15:自改官方 9.7.1.28940 最新正式版本2023.01.07:自改官方 9.7.1.2893 ...

  9. Centos7安装Docker 及 Docker-compose

    1.安装环境 此处在Centos7进行安装,可以使用以下命令查看CentOS版本 lsb_release -a 在 CentOS 7安装docker要求系统为64位.系统内核版本为 3.10 以上,可 ...

  10. CodeGym自学笔记08——交互对象

    交互对象 用 Java 语言编写的每个程序都由类和对象组成. 1."Java 程序员就像设计工程师一样,只是他们不制作蓝图,而是编写类.船舶零件是根据蓝图制造的,而对象是基于类创建的.&qu ...