代宇航用户管理并推送

王健旭材料管理
喻廷屿材料出入库管理
孙佳兴预约管理并测试
赵文博实验室管理
main
your-name 1 week ago
parent d4e6d1ed29
commit f04dd2a5aa

@ -0,0 +1,13 @@
<component name="ArtifactManager">
<artifact type="exploded-war" name="equipment:Web2 exploded">
<output-path>$PROJECT_DIR$/out/artifacts/equipment_Web2_exploded</output-path>
<root id="root">
<element id="javaee-facet-resources" facet="equipment/web/Web2" />
<element id="directory" name="WEB-INF">
<element id="directory" name="classes">
<element id="module-output" name="equipment" />
</element>
</element>
</root>
</artifact>
</component>

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="aspectjweaver-1.9.7">
<CLASSES>
<root url="jar://$PROJECT_DIR$/equipment-SpringMVCProject/web/WEB-INF/lib/aspectjweaver-1.9.7.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,18 @@
<component name="libraryTable">
<library name="libs">
<CLASSES>
<root url="jar://$PROJECT_DIR$/equipment-SpringProject/src/libs/jsp-api.jar!/" />
<root url="jar://$PROJECT_DIR$/equipment-SpringProject/src/libs/spring-expression-5.1.6.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/equipment-SpringProject/src/libs/commons-logging-1.1.1.jar!/" />
<root url="jar://$PROJECT_DIR$/equipment-SpringProject/src/libs/spring-beans-5.1.6.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/equipment-SpringProject/src/libs/spring-aop-5.1.6.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/equipment-SpringProject/src/libs/spring-context-5.1.6.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/equipment-SpringProject/src/libs/spring-web-5.1.6.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/equipment-SpringProject/src/libs/spring-webmvc-5.1.6.RELEASE.jar!/" />
<root url="jar://$PROJECT_DIR$/equipment-SpringProject/src/libs/aspectjweaver-1.9.7.jar!/" />
<root url="jar://$PROJECT_DIR$/equipment-SpringProject/src/libs/spring-core-5.1.6.RELEASE.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -0,0 +1,9 @@
<component name="libraryTable">
<library name="servlet-api">
<CLASSES>
<root url="jar://$PROJECT_DIR$/equipment/web/WEB-INF/lib/servlet-api.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="web" name="Web">
<facet type="web" name="Web2">
<configuration>
<descriptors>
<deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/web/web/WEB-INF/web.xml" />
<deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/web/WEB-INF/web.xml" />
<deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/web2/web/WEB-INF/web.xml" />
<deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/web2/WEB-INF/web.xml" />
</descriptors>
<webroots>
<root url="file://$MODULE_DIR$/web" relative="/" />
<root url="file://$MODULE_DIR$/web2" relative="/" />
</webroots>
</configuration>
</facet>
@ -21,5 +21,6 @@
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="lib" level="project" />
<orderEntry type="library" name="servlet-api" level="project" />
</component>
</module>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
version="4.0">
</web-app>

@ -8,7 +8,7 @@
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
<title>入门程序</title>
<title>入门程序</title>
</head>
<body>
<a href="hello">hello world</a>

@ -11,16 +11,13 @@
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc.xsd">
<!-- 1. 扫描Controller包 -->
<context:component-scan base-package="com.ssm.controller"/>
<!-- 2. 开启注解驱动(解决请求映射、参数绑定) -->
<context:component-scan base-package="com.ssm"/>
<mvc:annotation-driven/>
<!-- 3. 放行静态资源jsp、html、css等 -->
<mvc:default-servlet-handler/>
<!-- 4. 视图解析器对应WEB-INF/view下的jsp文件 -->
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix" value="/WEB-INF/view/"/>
<property name="suffix" value=".jsp"/>

@ -1,8 +1,8 @@
<%--
Created by IntelliJ IDEA.
User: AA7
Date: 2026/5/13
Time: 14:12
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" %>

@ -1,62 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd"
version="4.0">
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
<<<<<<< HEAD
<!-- 1. 编码过滤器解决POST请求和页面乱码 -->
<filter>
<filter-name>encodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
<init-param>
<param-name>forceEncoding</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>encodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- 2. SpringMVC核心控制器直接从WEB-INF加载springmvc.xml -->
<servlet>
<servlet-name>springmvc</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/springmvc.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>springmvc</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
<filter>
<filter-name>encodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
<init-param>
<param-name>forceEncoding</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>encodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<!-- 3. 欢迎页(可选,不会报错) -->
<welcome-file-list>
<welcome-file>addUser.jsp</welcome-file>
</welcome-file-list>
=======
<servlet>
<servlet-name>DispatcherServlet</servlet-name>
<servlet-name>springmvc</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:springmvc.xml</param-value>
<param-value>/WEB-INF/springmvc.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>DispatcherServlet</servlet-name>
<servlet-name>springmvc</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
>>>>>>> origin/main
</web-app>

@ -5,7 +5,7 @@
<title>实验室管理</title>
</head>
<body>
<h3>添加实验室信息</h3>
<h3>实验室信息</h3>
<form action="${pageContext.request.contextPath}/lab/newadd" method="post">
实验室编号:<input type="text" name="labId"><br><br>
实验室名称:<input type="text" name="labName"><br><br>

@ -5,7 +5,7 @@
<title>添加材料</title>
</head>
<body>
<h3>添加材料信息</h3>
<h3>材料信息</h3>
<form action="${pageContext.request.contextPath}/material/newadd" method="post">
材料编号:<input type="text" name="mid"><br><br>
材料名称:<input type="text" name="mname"><br><br>

@ -5,7 +5,7 @@
<title>材料出入库</title>
</head>
<body>
<h3>添加材料出入库记录</h3>
<h3>材料出入库记录</h3>
<form action="${pageContext.request.contextPath}/stock/newadd" method="post">
记录编号:<input type="text" name="stockId"><br><br>
材料编号:<input type="text" name="mid"><br><br>

@ -5,7 +5,7 @@
<title>预约管理</title>
</head>
<body>
<h3>添加预约信息</h3>
<h3>预约信息</h3>
<form action="${pageContext.request.contextPath}/reservation/newadd" method="post">
预约编号:<input type="text" name="rid"><br><br>
用户编号:<input type="text" name="uid"><br><br>

@ -1,27 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
https://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context
https://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/mvc
https://www.springframework.org/schema/mvc/spring-mvc.xsd">
<context:component-scan base-package="com.ssm.controller"/>
<mvc:annotation-driven/>
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="prefix" value="/"/>
<property name="suffix" value=".jsp"/>
</bean>
</beans>
Loading…
Cancel
Save