前言
经过一个学期的java学习现在来制作一个java+html+mysql制作的职业选手管理系统
一、使用java设计主类
这里主要设计了id作为选手的编号,选手姓名,选手战队名称,选手年龄,所属位置。
二、设计主要交互
1.增,删,查,改
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="ISO-8859-1">
<title>Employee Management System</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
</head>
<body>
<div class="container">
<h1>添加人物页面</h1>
<hr>
<h2>添加人物</h2>
<form action="#" th:action="@{/saveEmployee}" th:object="${employee}" method="POST">
<input type="text" th:field="*{name