主頁 >  其他 > JavaWeb搭建學生管理系統(手把手)

JavaWeb搭建學生管理系統(手把手)

2021-12-19 09:10:09 其他

本人的博客地址www.aogu181.top

本文章僅供參考,適合新手搭建JavaWeb,學習此文章來打打基礎還是可以的,如果有錯誤或者寫的不好的地方,請多多指教,

最后本專案只是提供一個框架和思路,對前端界面不做美化

目錄

開發工具與環境

工具包

功能說明

專案結構

操作步驟

1.創建資料庫

(一)創建資料庫

(二)創建資料表

(三)插入資料

2.創建JavaWeb界面

(一)登入界面

(二)主頁界面

(三)增加學生界面

(四)修改界面

(五)查詢界面

3.創建Java類實作功能

(一)創建物件類

(二)創建資料訪問層(Dao層)

(三)創建servlet

(四)配置過濾器

原始碼


開發工具與環境

1.IntelliJ IDEA 2021.2.2

2.MySQL 8.0.20

3.jdk 1.8.0_144

4.Tomcat

工具包

因為專案需要連接資料庫,所以需要一個連接資料庫的jar包

本專案用的是mysql8.0所以jar對應的就是8.0版本,如圖所示,需要的自取jar包,提取碼:miek

不同資料庫版本對應的jar包是不一樣的,具體jar包的下載地址:Jar包下載,怎么下載這里就不多介紹了

功能說明

1.登入功能

2.增

3.刪

4.改

5.查

專案結構

專案結構如圖所示:

編譯器的不同具體也不完全相同,但大致一樣就行

src下創建com.公司名. xxx 的形式

bean包下放需要操作的物件

dao包下面放對需要操作物件的操作,例如增刪改查

filter包下放過濾器,一般是放編碼過濾器和權限過濾器

servlet包下放servlet物件

private包下放需要權限的頁面

lib包下放需要匯入的庫(jar包)

web.xml是組態檔

操作步驟

1.創建資料庫

(一)創建資料庫

create database rg56;

(二)創建資料表

這里設定了 id 為主鍵且不為空,其他設定根據自己的需求更改

create table stuno(
                    id INT NOT NULL AUTO_INCREMENT PRIMARY KEY,
                    name CHAR(30),
                    password CHAR(30),
                       );

最終如下圖所示:

(三)插入資料

INSERT INTO stuno(id, name,password) 
                VALUES (1,'小方','123456');

結果如下圖所示,如需插入多個可自行選擇,

2.創建JavaWeb界面

完整專案放在最后,注意事項和解釋全放在代碼段里面了

(一)登入界面

代碼如下:

<%--
  Created by IntelliJ IDEA.
  User: HARD
  Date: 2021/12/12
  Time: 16:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登入界面</title>
</head>
<body>
<%--如果 condition() 函式回傳為true時才提交表單--%>
<form action="checkLogin.jsp" method="post" onsubmit="return condition()">
    <%--這里的 name 和 id 可以隨便取名字,但最好和資料庫的欄位保持一致--%>
    學號:<input type="text" name="id" id="id"><br>
    密碼:<input type="password" name="password" id="password"><br>
    <input type="submit" value="登入">
</form>
<script>
    function condition() {
        var id_1 = document.getElementById("id").value;//獲取id為id的值
        var pwd_2 = document.getElementById("password").value;//獲取id為password的值;
        if(id_1==""){
            alert("學號不能為空!");
            return false;
        }
        if(pwd_2==""){
            alert("密碼不能為空!");
            return false;
        }
        return true;
    }

</script>
</body>
</html>

(二)主頁界面

代碼如下:

<%--
  Created by IntelliJ IDEA.
  User: HARD
  Date: 2021/12/12
  Time: 16:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="com.bean.Student" %>
<%@ page import="com.dao.StudentDao" %>
<%@ page import="java.util.List" %>
<%@ page import="java.util.Iterator" %>
<html>
<head>
    <title>學生資訊</title>
</head>
<body>
<table border="2px" align="center" cellspacing="0">
    <tr>
        <td>學號</td>
        <td>姓名</td>
        <td>密碼</td>
        <td width="200px"><a href="add.jsp">增加學生</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="searchStudent.jsp">查詢學生</a></td>
    </tr>
    <%
        List<Student> list = StudentDao.getList();
        Iterator<Student> iter = list.iterator();

        while (iter.hasNext()) {
            Student student = iter.next();
    %>
    <tr>
        <td width="75px"><%=student.getId()%>
        </td>
        <td width="75px"><%=student.getName()%>
        </td>
        <td width="75px"><%=student.getPassword()%>
        </td>
        <td width="120px">
            <%--將 id 引數傳過去 --%>
            <a href="delete.jsp?id=<%=student.getId() %>">洗掉</a>&nbsp;&nbsp;
            <%--
              因為修改是要先 獲取學號 得到全部資訊
              在修改所以傳了一個引數  ?id=<%=student.getId()%>
            --%>
            <a href="updateStudent.jsp?id=<%=student.getId()%>">修改</a>
        </td>
    </tr>
    <tr>

    </tr>
    <%
        }
    %>
</table>
</body>
</html>

(三)增加學生界面

<%--
  Created by IntelliJ IDEA.
  User: HARD
  Date: 2021/12/12
  Time: 20:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加學生</title>
</head>
<body>
<form action="addCheck.jsp" method="post" onsubmit="return condition()">
    學號:<input type="text" id="id" name="id"><br>
    姓名:<input type="text" id="name" name="name"><br>
    密碼:<input type="password" id="password" name="password"><br>
    <input type="submit" value="提交">
    <input type="reset" value="重置">
</form>

<script>
    function condition() {
        var id_1 = document.getElementById("id").value;//獲取id為id的值
        var name_2 = document.getElementById("name").value;//獲取id為name的值
        var pwd_3 = document.getElementById("password").value;//獲取id為password的值;

        if(id_1==""){
            alert("學號不能為空!");
            return false;
        }
        if(name_2==""){
            alert("姓名不能為空!");
            return false;
        }
        if(pwd_3==""){
            alert("密碼不能為空!");
            return false;
        }
        return true;
    }
</script>
</body>
</html>

(四)修改界面

代碼如下:

<%--
  Created by IntelliJ IDEA.
  User: HARD
  Date: 2021/12/12
  Time: 21:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="com.dao.StudentDao" %>
<%@ page import="com.bean.Student" %>
<html>
<head>
    <title>修改學生資訊</title>
</head>
<body>
<%
    int id = Integer.parseInt(request.getParameter("id"));//獲取學號
    Student stu = StudentDao.getStudent(id);//根據學號獲取完整的物件
%>
<form action="updateCheck.jsp?id=<%=id%>" method="post">
    學號: <input type="text" name="id" value="<%=stu.getId()%>"><br>
    姓名: <input type="text" name="name" value="<%=stu.getName()%>"><br>
    密碼: <input type="text" name="password" value="<%=stu.getPassword()%>"><br>
    <input type="submit" value="修改">
    <input type="reset" value="重置">
</form>
</body>
</html>

(五)查詢界面

代碼如下:

<%--
  Created by IntelliJ IDEA.
  User: HARD
  Date: 2021/12/12
  Time: 20:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="com.bean.Student" %>
<%@ page import="com.dao.StudentDao" %>
<html>
<head>
    <title>檢查添加學生資訊</title>
</head>
<body>
<%
    request.setCharacterEncoding("UTF-8");
    //獲取來自 add.jsp 的表單
    int id = Integer.parseInt(request.getParameter("id")) ;
    String name = request.getParameter("name");
    String password = request.getParameter("password");
    //創建 student 物件
    Student student = new Student();
    student.setId(id);
    student.setName(name);
    student.setPassword(password);
    StudentDao.add(student);
    //添加完成就回傳查看頁面
    response.sendRedirect("index.jsp");
%>
</body>
</html>

3.創建Java類實作功能

(一)創建物件類

代碼如下:

package com.bean;

public class Student {
    private int id;
    private String password;
    private String name;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}

(二)創建資料訪問層(Dao層)

1.創建連接資料庫操作物件類,BaseDao.java

package com.dao;
import java.sql.*;
/*
* 連接資料庫
*
* */
public class BaseDao {
    static{
        try {
            Class.forName("com.mysql.jdbc.Driver");
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        }
    }

    public static Connection getConnection(){
        Connection conn = null;
        try {
            conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/rg56?useUnicode=yes&characterEncoding=utf8", "root", "131488");
        } catch (SQLException e) {
            e.printStackTrace();
        }
        return conn;
    }
    public static void closeAll(ResultSet rs,PreparedStatement pStmt,Connection conn){
        if(rs != null){
            try {
                rs.close();
            } catch (SQLException e) {
                e.printStackTrace();
            }
        }
        if(pStmt != null){
            try {
                pStmt.close();
            } catch (SQLException e) {
                e.printStackTrace();
            }
        }
        if(conn != null){
            try {
                conn.close();
            } catch (SQLException e) {
                e.printStackTrace();
            }
        }
    }
}

(二)創建操作物件類

package com.dao;

import com.bean.Student;

import java.sql.*;
import java.util.ArrayList;
import java.util.List;

/*
 * 用來對學生進行操作
 * */
public class StudentDao {

    //獲取學生資訊串列
    public static List<Student> getList() {
        Connection conn = null;
        PreparedStatement stmt = null;
        ResultSet rs = null;
        List<Student> list = new ArrayList<>();
        try {
            conn = BaseDao.getConnection();
            stmt = conn.prepareStatement("SELECT * FROM stuno");
            rs = stmt.executeQuery();
            while (rs.next()) {
                Student stu = new Student();
                stu.setId(rs.getInt(1));
                stu.setName(rs.getString(2));
                stu.setPassword(rs.getString(3));
                list.add(stu);
            }
        } catch (SQLException e) {
            e.printStackTrace();
        } finally {
            BaseDao.closeAll(rs, stmt, conn);
        }
        return list;
    }

    //增加學生資訊
    public static void add(Student stu) {
        Connection con = null;
        PreparedStatement pStmt = null;
        ResultSet rs = null;
        try {
            con = BaseDao.getConnection();
            pStmt = con.prepareStatement("insert into stuno(id,name,password) values(?,?,?)");
            pStmt.setInt(1, stu.getId());
            pStmt.setString(2, stu.getName());
            pStmt.setString(3, stu.getPassword());
            pStmt.executeUpdate();//更新資料
        } catch (SQLException e) {
            e.printStackTrace();
        }
    }

    //根據學號洗掉學生資訊
    public static void delete(int id) {
        Connection con = null;
        PreparedStatement pStmt = null;
        try {
            con = BaseDao.getConnection();
            pStmt = con.prepareStatement("delete from stuno where id=?");
            pStmt.setInt(1, id);
            pStmt.executeUpdate();
        } catch (SQLException e) {
            e.printStackTrace();
        }
    }

    //獲取單個學生物件
    public static Student getStudent(int id) {
        Student s = new Student();
        Connection conn = null;
        PreparedStatement stmt = null;
        ResultSet rs = null;
        try {
            conn = BaseDao.getConnection();
            stmt = conn.prepareStatement("select * from stuno where id=?");
            stmt.setInt(1, id);
            rs = stmt.executeQuery();
            if (rs.next()) {
                s.setId(rs.getInt("id"));
                s.setName(rs.getString("name"));
                s.setPassword(rs.getString("password"));
            }
        } catch (SQLException e) {
            e.printStackTrace();
        } finally {
            BaseDao.closeAll(rs, stmt, conn);
        }
        return s;
    }

    //修改功能
    public static void updateStudent(Student student) {
        Connection conn = null;
        PreparedStatement stmt = null;
        ResultSet rs = null;
        try {
            conn = BaseDao.getConnection();
            String sql = "UPDATE stuno SET id=?,name=?,password=? where id=?";
            stmt = conn.prepareStatement(sql);
            stmt.setInt(1, student.getId());
            stmt.setString(2, student.getName());
            stmt.setString(3, student.getPassword());
            stmt.setInt(4, student.getId());
            stmt.executeUpdate();
        } catch (SQLException e) {
            e.printStackTrace();
        } finally {
            BaseDao.closeAll(rs, stmt, conn);
        }
    }

    //查詢功能,根據模糊查詢學號回傳所有學生資訊
    public static List<Student> getStudentList(int id) {
        Connection conn = null;
        PreparedStatement stmt = null;
        ResultSet rs = null;
        List<Student> allStudent = new ArrayList<>();
        try {
            conn = BaseDao.getConnection();
            stmt = conn.prepareStatement("select * from stuno where id like ?");
            stmt.setString(1, "%" + id + "%");
            rs = stmt.executeQuery();
            while (rs.next()) {
                Student stu = new Student();
                stu.setId(rs.getInt(1));
                stu.setName(rs.getString(2));
                stu.setPassword(rs.getString(3));
                allStudent.add(stu);
            }
        } catch (SQLException e) {
            e.printStackTrace();
        } finally {
            BaseDao.closeAll(rs, stmt, conn);
        }
        return allStudent;
    }
}

(三)創建servlet

我只把查找功能交給了servlet,可根據自己需求添加

package com.sevlet;

import com.dao.StudentDao;
import com.bean.Student;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.List;

/**
 *  /search 是注解也可以在 web.xml中配置servlet
 *
 */

@WebServlet("/search")
public class SearchSevlet extends HttpServlet {
    @Override
    protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        req.setCharacterEncoding("UTF-8");
        resp.setContentType("text/html;charset=UTF-8");
        PrintWriter out = resp.getWriter();
        int id = Integer.parseInt(req.getParameter("id"));
        List<Student> list = StudentDao.getStudentList(id);
        req.setAttribute("list", list);
        req.getRequestDispatcher("searchStudent.jsp").forward(req, resp);


        super.doPost(req, resp);
    }
}

(四)配置過濾器

1.配置字符碼過濾器

package com.filter;

import java.io.IOException;

import javax.servlet.Filter;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;


public class EncodingFilter implements Filter {

    private static String encoding; // 定義變數接收初始化的值

    public void destroy() {

    }

    public void doFilter(ServletRequest request, ServletResponse response,
                         FilterChain chain) throws IOException, ServletException {
        // 設定字符編碼鏈鎖
        request.setCharacterEncoding(encoding);
        response.setCharacterEncoding(encoding);
        chain.doFilter(request, response);

    }
    // 初始化
    public void init(FilterConfig config) throws ServletException {
        // 接收web.xml組態檔中的初始引數
        encoding = config.getInitParameter("CharsetEncoding");

    }

}

創建完了還需要在web.xml中配置

 <filter>
        <filter-name>charsetEncodingFilter</filter-name>
        <filter-class>com.filter.EncodingFilter</filter-class>
        <init-param>
            <param-name>CharsetEncoding</param-name>
            <param-value>UTF-8</param-value>
        </init-param>
    </filter>

    <filter-mapping>
        <filter-name>charsetEncodingFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>

(2)創建權限過濾器

package com.filter;

import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.io.IOException;

public class PrivateFilter implements Filter {
    private FilterConfig filterConfig;

    @Override
    public void init(FilterConfig filterConfig) throws ServletException {
        this.filterConfig = filterConfig;
    }

    @Override
    public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException {
        HttpServletRequest request = (HttpServletRequest) servletRequest;
        HttpServletResponse response = (HttpServletResponse) servletResponse;
        HttpSession session = request.getSession();
        //這里的 name 是登入成功后在登入成功界面加一個  session.setAttribute("name","xxx");
        String name = (String) session.getAttribute("name");
        if (name == null) {
            if (request.getRequestURI().indexOf("../firstLogin.jsp") > -1) {
                filterChain.doFilter(servletRequest, servletResponse);
            } else {
                response.sendRedirect("../firstLogin.jsp");
            }

        } else {
          
            request.getRequestDispatcher("index.jsp").forward(request,response);
            return;
        }
    }

    @Override
    public void destroy() {

    }
}

同樣需要在web.xml中配置

<filter>
        <filter-name>PrivateFilter</filter-name>
        <filter-class>com.filter.PrivateFilter</filter-class>
    </filter>

    <filter-mapping>
        <filter-name>PrivateFilter</filter-name>
       <!-- 需要過濾的路徑-->
        <url-pattern>/private/*</url-pattern>
    </filter-mapping>

原始碼

最后大致就大功完成了,感謝支持,喜歡了可以幫忙點個贊哦

最后附上我自己學習時做的班費管理系統班費管理系統

本篇文章的原始碼也附上鏈接:原始碼
提取碼:hx38

轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/385578.html

標籤:其他

上一篇:使用SSM+Layui+Bootstrap實作汽車維保系統

下一篇:【LFS7.7】一步步教你從 〇 開始擼個 Linux 系統 | 文末送書

標籤雲
其他(157675) Python(38076) JavaScript(25376) Java(17977) C(15215) 區塊鏈(8255) C#(7972) AI(7469) 爪哇(7425) MySQL(7132) html(6777) 基礎類(6313) sql(6102) 熊猫(6058) PHP(5869) 数组(5741) R(5409) Linux(5327) 反应(5209) 腳本語言(PerlPython)(5129) 非技術區(4971) Android(4554) 数据框(4311) css(4259) 节点.js(4032) C語言(3288) json(3245) 列表(3129) 扑(3119) C++語言(3117) 安卓(2998) 打字稿(2995) VBA(2789) Java相關(2746) 疑難問題(2699) 细绳(2522) 單片機工控(2479) iOS(2429) ASP.NET(2402) MongoDB(2323) 麻木的(2285) 正则表达式(2254) 字典(2211) 循环(2198) 迅速(2185) 擅长(2169) 镖(2155) 功能(1967) .NET技术(1958) Web開發(1951) python-3.x(1918) HtmlCss(1915) 弹簧靴(1913) C++(1909) xml(1889) PostgreSQL(1872) .NETCore(1853) 谷歌表格(1846) Unity3D(1843) for循环(1842)

熱門瀏覽
  • 網閘典型架構簡述

    網閘架構一般分為兩種:三主機的三系統架構網閘和雙主機的2+1架構網閘。 三主機架構分別為內端機、外端機和仲裁機。三機無論從軟體和硬體上均各自獨立。首先從硬體上來看,三機都用各自獨立的主板、記憶體及存盤設備。從軟體上來看,三機有各自獨立的作業系統。這樣能達到完全的三機獨立。對于“2+1”系統,“2”分為 ......

    uj5u.com 2020-09-10 02:00:44 more
  • 如何從xshell上傳檔案到centos linux虛擬機里

    如何從xshell上傳檔案到centos linux虛擬機里及:虛擬機CentOs下執行 yum -y install lrzsz命令,出現錯誤:鏡像無法找到軟體包 前言 一、安裝lrzsz步驟 二、上傳檔案 三、遇到的問題及解決方案 總結 前言 提示:其實很簡單,往虛擬機上安裝一個上傳檔案的工具 ......

    uj5u.com 2020-09-10 02:00:47 more
  • 一、SQLMAP入門

    一、SQLMAP入門 1、判斷是否存在注入 sqlmap.py -u 網址/id=1 id=1不可缺少。當注入點后面的引數大于兩個時。需要加雙引號, sqlmap.py -u "網址/id=1&uid=1" 2、判斷文本中的請求是否存在注入 從文本中加載http請求,SQLMAP可以從一個文本檔案中 ......

    uj5u.com 2020-09-10 02:00:50 more
  • Metasploit 簡單使用教程

    metasploit 簡單使用教程 浩先生, 2020-08-28 16:18:25 分類專欄: kail 網路安全 linux 文章標簽: linux資訊安全 編輯 著作權 metasploit 使用教程 前言 一、Metasploit是什么? 二、準備作業 三、具體步驟 前言 Msfconsole ......

    uj5u.com 2020-09-10 02:00:53 more
  • 游戲逆向之驅動層與用戶層通訊

    驅動層代碼: #pragma once #include <ntifs.h> #define add_code CTL_CODE(FILE_DEVICE_UNKNOWN,0x800,METHOD_BUFFERED,FILE_ANY_ACCESS) /* 更多游戲逆向視頻www.yxfzedu.com ......

    uj5u.com 2020-09-10 02:00:56 more
  • 北斗電力時鐘(北斗授時服務器)讓網路資料更精準

    北斗電力時鐘(北斗授時服務器)讓網路資料更精準 北斗電力時鐘(北斗授時服務器)讓網路資料更精準 京準電子科技官微——ahjzsz 近幾年,資訊技術的得了快速發展,互聯網在逐漸普及,其在人們生活和生產中都得到了廣泛應用,并且取得了不錯的應用效果。計算機網路資訊在電力系統中的應用,一方面使電力系統的運行 ......

    uj5u.com 2020-09-10 02:01:03 more
  • 【CTF】CTFHub 技能樹 彩蛋 writeup

    ?碎碎念 CTFHub:https://www.ctfhub.com/ 筆者入門CTF時時剛開始刷的是bugku的舊平臺,后來才有了CTFHub。 感覺不論是網頁UI設計,還是題目質量,賽事跟蹤,工具軟體都做得很不錯。 而且因為獨到的金幣制度的確讓人有一種想去刷題賺金幣的感覺。 個人還是非常喜歡這個 ......

    uj5u.com 2020-09-10 02:04:05 more
  • 02windows基礎操作

    我學到了一下幾點 Windows系統目錄結構與滲透的作用 常見Windows的服務詳解 Windows埠詳解 常用的Windows注冊表詳解 hacker DOS命令詳解(net user / type /md /rd/ dir /cd /net use copy、批處理 等) 利用dos命令制作 ......

    uj5u.com 2020-09-10 02:04:18 more
  • 03.Linux基礎操作

    我學到了以下幾點 01Linux系統介紹02系統安裝,密碼啊破解03Linux常用命令04LAMP 01LINUX windows: win03 8 12 16 19 配置不繁瑣 Linux:redhat,centos(紅帽社區版),Ubuntu server,suse unix:金融機構,證券,銀 ......

    uj5u.com 2020-09-10 02:04:30 more
  • 05HTML

    01HTML介紹 02頭部標簽講解03基礎標簽講解04表單標簽講解 HTML前段語言 js1.了解代碼2.根據代碼 懂得挖掘漏洞 (POST注入/XSS漏洞上傳)3.黑帽seo 白帽seo 客戶網站被黑帽植入劫持代碼如何處理4.熟悉html表單 <html><head><title>TDK標題,描述 ......

    uj5u.com 2020-09-10 02:04:36 more
最新发布
  • 2023年最新微信小程式抓包教程

    01 開門見山 隔一個月發一篇文章,不過分。 首先回顧一下《微信系結手機號資料庫被脫庫事件》,我也是第一時間得知了這個訊息,然后跟蹤了整件事情的經過。下面是這起事件的相關截圖以及近日流出的一萬條資料樣本: 個人認為這件事也沒什么,還不如關注一下之前45億快遞資料查詢渠道疑似在近日復活的訊息。 訊息是 ......

    uj5u.com 2023-04-20 08:48:24 more
  • web3 產品介紹:metamask 錢包 使用最多的瀏覽器插件錢包

    Metamask錢包是一種基于區塊鏈技術的數字貨幣錢包,它允許用戶在安全、便捷的環境下管理自己的加密資產。Metamask錢包是以太坊生態系統中最流行的錢包之一,它具有易于使用、安全性高和功能強大等優點。 本文將詳細介紹Metamask錢包的功能和使用方法。 一、 Metamask錢包的功能 數字資 ......

    uj5u.com 2023-04-20 08:47:46 more
  • vulnhub_Earth

    前言 靶機地址->>>vulnhub_Earth 攻擊機ip:192.168.20.121 靶機ip:192.168.20.122 參考文章 https://www.cnblogs.com/Jing-X/archive/2022/04/03/16097695.html https://www.cnb ......

    uj5u.com 2023-04-20 07:46:20 more
  • 從4k到42k,軟體測驗工程師的漲薪史,給我看哭了

    清明節一過,盲猜大家已經無心上班,在數著日子準備過五一,但一想到銀行卡里的余額……瞬間心情就不美麗了。最近,2023年高校畢業生就業調查顯示,本科畢業月平均起薪為5825元。調查一出,便有很多同學表示自己又被平均了。看著這一資料,不免讓人想到前不久中國青年報的一項調查:近六成大學生認為畢業10年內會 ......

    uj5u.com 2023-04-20 07:44:00 more
  • 最新版本 Stable Diffusion 開源 AI 繪畫工具之中文自動提詞篇

    🎈 標簽生成器 由于輸入正向提示詞 prompt 和反向提示詞 negative prompt 都是使用英文,所以對學習母語的我們非常不友好 使用網址:https://tinygeeker.github.io/p/ai-prompt-generator 這個網址是為了讓大家在使用 AI 繪畫的時候 ......

    uj5u.com 2023-04-20 07:43:36 more
  • 漫談前端自動化測驗演進之路及測驗工具分析

    隨著前端技術的不斷發展和應用程式的日益復雜,前端自動化測驗也在不斷演進。隨著 Web 應用程式變得越來越復雜,自動化測驗的需求也越來越高。如今,自動化測驗已經成為 Web 應用程式開發程序中不可或缺的一部分,它們可以幫助開發人員更快地發現和修復錯誤,提高應用程式的性能和可靠性。 ......

    uj5u.com 2023-04-20 07:43:16 more
  • CANN開發實踐:4個DVPP記憶體問題的典型案例解讀

    摘要:由于DVPP媒體資料處理功能對存放輸入、輸出資料的記憶體有更高的要求(例如,記憶體首地址128位元組對齊),因此需呼叫專用的記憶體申請介面,那么本期就分享幾個關于DVPP記憶體問題的典型案例,并給出原因分析及解決方法。 本文分享自華為云社區《FAQ_DVPP記憶體問題案例》,作者:昇騰CANN。 DVPP ......

    uj5u.com 2023-04-20 07:43:03 more
  • msf學習

    msf學習 以kali自帶的msf為例 一、msf核心模塊與功能 msf模塊都放在/usr/share/metasploit-framework/modules目錄下 1、auxiliary 輔助模塊,輔助滲透(埠掃描、登錄密碼爆破、漏洞驗證等) 2、encoders 編碼器模塊,主要包含各種編碼 ......

    uj5u.com 2023-04-20 07:42:59 more
  • Halcon軟體安裝與界面簡介

    1. 下載Halcon17版本到到本地 2. 雙擊安裝包后 3. 步驟如下 1.2 Halcon軟體安裝 界面分為四大塊 1. Halcon的五個助手 1) 影像采集助手:與相機連接,設定相機引數,采集影像 2) 標定助手:九點標定或是其它的標定,生成標定檔案及內參外參,可以將像素單位轉換為長度單位 ......

    uj5u.com 2023-04-20 07:42:17 more
  • 在MacOS下使用Unity3D開發游戲

    第一次發博客,先發一下我的游戲開發環境吧。 去年2月份買了一臺MacBookPro2021 M1pro(以下簡稱mbp),這一年來一直在用mbp開發游戲。我大致分享一下我的開發工具以及使用體驗。 1、Unity 官網鏈接: https://unity.cn/releases 我一般使用的Apple ......

    uj5u.com 2023-04-20 07:40:19 more