保存进度!

This commit is contained in:
Kane Wang 2022-08-25 11:00:56 +08:00
parent 5d93fbd920
commit 4ce43b02f8
3 changed files with 14 additions and 29 deletions

View File

@ -28,9 +28,9 @@
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>6.0.0</version>
<scope>provided</scope>
<!-- <systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/servlet-api.jar</systemPath> -->
<version>5.0.0</version>
<scope>system</scope>
<systemPath>${pom.basedir}/src/main/webapp/WEB-INF/lib/servlet-api.jar</systemPath>
</dependency>
</dependencies>
@ -43,7 +43,7 @@
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging -->
<!-- see http://maven.apache.org/ref/current/ven-core/efault-bindings.html#Plugin_bindings_for_war_packaging -->
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<version>3.0.2</version>

View File

@ -2,7 +2,7 @@
* @Author: Kane
* @Date: 2022-08-23 21:28:26
* @LastEditors: Kane
* @LastEditTime: 2022-08-25 09:55:47
* @LastEditTime: 2022-08-25 10:45:45
* @FilePath: \tomcat-servlet\src\main\java\com\cpic\xim\ServletTest.java
* @Description:
*
@ -22,14 +22,14 @@ import jakarta.servlet.http.HttpSession;
public class ServletTest extends HttpServlet
{
/**
/*********************************************
* 测试tomcat 10.x的servlet对象
*
* @param request
* @param response
* @exception ServletException
* @exception IOException
*/
********************************************/
@Override
public void doGet( HttpServletRequest request, HttpServletResponse response )
throws ServletException, IOException
@ -57,6 +57,13 @@ public class ServletTest extends HttpServlet
writer.write( " " );
}
/*****************************************************
*
* @param request
* @param response
* @exception ServletException
* @exception IOException
*****************************************************/
@Override
public void doPost( HttpServletRequest request, HttpServletResponse response )
{

View File

@ -1,22 +0,0 @@
/*
* @Author: Kane
* @Date: 2022-08-23 23:58:05
* @LastEditors: Kane
* @LastEditTime: 2022-08-24 21:14:09
* @FilePath: \tomcat-servlet\src\test\java\com\cpic\xim\ServletTest.java
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
package com.cpic.xim;
import org.junit.Test;
public class ServletTest
{
@Test
public void servletTest()
{
}
}