diff --git a/equipment-SpringMVCProject/web/WEB-INF/view/showFirst.jsp b/equipment-SpringMVCProject/web/WEB-INF/view/showFirst.jsp
new file mode 100644
index 0000000..c4292f2
--- /dev/null
+++ b/equipment-SpringMVCProject/web/WEB-INF/view/showFirst.jsp
@@ -0,0 +1,16 @@
+<%--
+ Created by IntelliJ IDEA.
+ User: AA7
+ Date: 2026/4/23
+ Time: 14:21
+ To change this template use File | Settings | File Templates.
+--%>
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+
+
+ 入门程序
+
+
+success!
+
+
diff --git a/equipment-SpringMVCProject/web/WEB-INF/view/showLab.jsp b/equipment-SpringMVCProject/web/WEB-INF/view/showLab.jsp
new file mode 100644
index 0000000..6c08b67
--- /dev/null
+++ b/equipment-SpringMVCProject/web/WEB-INF/view/showLab.jsp
@@ -0,0 +1,16 @@
+<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
+
+
+
+ 操作成功
+
+
+Success!
+实验室编号:${lab.labId}
+实验室名称:${lab.labName}
+位置:${lab.location}
+容纳人数:${lab.capacity}
+状态:${lab.status}
+管理员:${lab.manager}
+
+
\ No newline at end of file
diff --git a/equipment-SpringMVCProject/web/WEB-INF/view/showMaterial.jsp b/equipment-SpringMVCProject/web/WEB-INF/view/showMaterial.jsp
new file mode 100644
index 0000000..0cc553d
--- /dev/null
+++ b/equipment-SpringMVCProject/web/WEB-INF/view/showMaterial.jsp
@@ -0,0 +1,17 @@
+<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
+
+
+
+ 操作成功
+
+
+Success!
+材料编号:${material.mid}
+材料名称:${material.mname}
+规格型号:${material.spec}
+库存数量:${material.stockNum}
+单位:${material.unit}
+单价:${material.price}
+供应商:${material.supplier}
+
+
\ No newline at end of file
diff --git a/equipment-SpringMVCProject/web/WEB-INF/view/showMaterialStock.jsp b/equipment-SpringMVCProject/web/WEB-INF/view/showMaterialStock.jsp
new file mode 100644
index 0000000..9a39aa4
--- /dev/null
+++ b/equipment-SpringMVCProject/web/WEB-INF/view/showMaterialStock.jsp
@@ -0,0 +1,16 @@
+<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
+
+
+
+ 操作成功
+
+
+Success!
+记录编号:${stock.stockId}
+材料编号:${stock.mid}
+操作类型:${stock.type}
+数量:${stock.num}
+操作日期:${stock.opDate}
+操作人:${stock.operator}
+
+
\ No newline at end of file
diff --git a/equipment-SpringMVCProject/web/WEB-INF/view/showProduct.jsp b/equipment-SpringMVCProject/web/WEB-INF/view/showProduct.jsp
deleted file mode 100644
index f10ccda..0000000
--- a/equipment-SpringMVCProject/web/WEB-INF/view/showProduct.jsp
+++ /dev/null
@@ -1,19 +0,0 @@
-<%@ page contentType="text/html;charset=UTF-8" language="java" %>
-
-
- 结果页面
-
-
-Success!
-
-商品名称:${productInfo.pname}
-是否热门:${productInfo.isHot}
-市场价格:${productInfo.marketPrice}
-销售价格:${productInfo.shopPrice}
-商品图片:${productInfo.image}
-分类名称:${productInfo.category.cname}
-商品描述:${productInfo.pdesc}
-上架日期:${productInfo.pdate}
-
-
-
\ No newline at end of file
diff --git a/equipment-SpringMVCProject/web/WEB-INF/view/showReservation.jsp b/equipment-SpringMVCProject/web/WEB-INF/view/showReservation.jsp
new file mode 100644
index 0000000..9a39d4d
--- /dev/null
+++ b/equipment-SpringMVCProject/web/WEB-INF/view/showReservation.jsp
@@ -0,0 +1,16 @@
+<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
+
+
+
+ 操作成功
+
+
+Success!
+预约编号:${reservation.rid}
+用户编号:${reservation.uid}
+实验室编号:${reservation.labId}
+开始日期:${reservation.startDate}
+结束日期:${reservation.endDate}
+状态:${reservation.status}
+
+
\ No newline at end of file
diff --git a/equipment-SpringMVCProject/web/WEB-INF/view/showUser.jsp b/equipment-SpringMVCProject/web/WEB-INF/view/showUser.jsp
new file mode 100644
index 0000000..ca289f7
--- /dev/null
+++ b/equipment-SpringMVCProject/web/WEB-INF/view/showUser.jsp
@@ -0,0 +1,15 @@
+<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
+
+
+
+ 操作成功
+
+
+Success!
+用户编号:${user.uid}
+用户名:${user.username}
+真实姓名:${user.realName}
+手机号:${user.phone}
+角色:${user.role}
+
+
\ No newline at end of file
diff --git a/equipment-SpringMVCProject/web/WEB-INF/web.xml b/equipment-SpringMVCProject/web/WEB-INF/web.xml
index 9aaebf0..959f1ab 100644
--- a/equipment-SpringMVCProject/web/WEB-INF/web.xml
+++ b/equipment-SpringMVCProject/web/WEB-INF/web.xml
@@ -1,10 +1,11 @@
-
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
+ http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
+ version="3.0">
+
-
encodingFilter
org.springframework.web.filter.CharacterEncodingFilter
@@ -22,19 +23,17 @@
/*
-
- DispatcherServlet
+ springmvc
org.springframework.web.servlet.DispatcherServlet
contextConfigLocation
- classpath:springmvc.xml
+ /WEB-INF/springmvc.xml
1
-
- DispatcherServlet
+ springmvc
/
diff --git a/equipment-SpringMVCProject/web/addLab.jsp b/equipment-SpringMVCProject/web/addLab.jsp
new file mode 100644
index 0000000..9a647d7
--- /dev/null
+++ b/equipment-SpringMVCProject/web/addLab.jsp
@@ -0,0 +1,25 @@
+<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
+
+
+
+ 实验室管理
+
+
+实验室信息
+
+
+
\ No newline at end of file
diff --git a/equipment-SpringMVCProject/web/addMaterial.jsp b/equipment-SpringMVCProject/web/addMaterial.jsp
new file mode 100644
index 0000000..9012cdb
--- /dev/null
+++ b/equipment-SpringMVCProject/web/addMaterial.jsp
@@ -0,0 +1,21 @@
+<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
+
+
+
+ 添加材料
+
+
+材料信息
+
+
+
\ No newline at end of file
diff --git a/equipment-SpringMVCProject/web/addMaterialStock.jsp b/equipment-SpringMVCProject/web/addMaterialStock.jsp
new file mode 100644
index 0000000..3399535
--- /dev/null
+++ b/equipment-SpringMVCProject/web/addMaterialStock.jsp
@@ -0,0 +1,24 @@
+<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
+
+
+
+ 材料出入库
+
+
+材料出入库记录
+
+
+
\ No newline at end of file
diff --git a/equipment-SpringMVCProject/web/addProduct.jsp b/equipment-SpringMVCProject/web/addProduct.jsp
deleted file mode 100644
index e72d1bf..0000000
--- a/equipment-SpringMVCProject/web/addProduct.jsp
+++ /dev/null
@@ -1,62 +0,0 @@
-<%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
-
-
-
-
- 添加商品
-
-
-
-
-
\ No newline at end of file
diff --git a/equipment-SpringMVCProject/web/addReservation.jsp b/equipment-SpringMVCProject/web/addReservation.jsp
new file mode 100644
index 0000000..6ea9abd
--- /dev/null
+++ b/equipment-SpringMVCProject/web/addReservation.jsp
@@ -0,0 +1,25 @@
+<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
+
+
+
+ 预约管理
+
+
+预约信息
+
+
+
\ No newline at end of file
diff --git a/equipment-SpringMVCProject/web/addUser.jsp b/equipment-SpringMVCProject/web/addUser.jsp
new file mode 100644
index 0000000..9d411cb
--- /dev/null
+++ b/equipment-SpringMVCProject/web/addUser.jsp
@@ -0,0 +1,24 @@
+<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
+
+
+
+ 添加用户
+
+
+添加用户信息
+
+
+
\ No newline at end of file
diff --git a/equipment-SpringMVCProject/web/First.jsp b/equipment-SpringMVCProject/web/first.jsp
similarity index 90%
rename from equipment-SpringMVCProject/web/First.jsp
rename to equipment-SpringMVCProject/web/first.jsp
index b415e6b..cd91836 100644
--- a/equipment-SpringMVCProject/web/First.jsp
+++ b/equipment-SpringMVCProject/web/first.jsp
@@ -8,7 +8,7 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
- 入门程序
+ 入门程序
hello world
diff --git a/equipment-SpringMVCProject/web/showFirst.jsp b/equipment-SpringMVCProject/web/showFirst.jsp
deleted file mode 100644
index 987fa73..0000000
--- a/equipment-SpringMVCProject/web/showFirst.jsp
+++ /dev/null
@@ -1,21 +0,0 @@
-<%@ page contentType="text/html;charset=UTF-8" language="java" %>
-
-
- 结果页面
-
-
-Success!
-
-<%-- 从ModelAndView中取出商品对象,展示到页面上 --%>
-<%-- 注意:这里的productInfo和Controller里addObject的键名一致 --%>
-商品名称:${productInfo.pname}
-是否热门:${productInfo.isHot}
-市场价格:${productInfo.marketPrice}
-销售价格:${productInfo.shopPrice}
-商品图片:${productInfo.image}
-分类名称:${productInfo.category.cname}
-商品描述:${productInfo.pdesc}
-上架日期:${productInfo.pdate}
-
-
-
\ No newline at end of file