diff --git a/tomcat-servlet/tomcat-servlet/.vscode/settings.json b/tomcat-servlet/tomcat-servlet/.vscode/settings.json
new file mode 100644
index 0000000..e0f15db
--- /dev/null
+++ b/tomcat-servlet/tomcat-servlet/.vscode/settings.json
@@ -0,0 +1,3 @@
+{
+ "java.configuration.updateBuildConfiguration": "automatic"
+}
\ No newline at end of file
diff --git a/tomcat-servlet/tomcat-servlet/pom.xml b/tomcat-servlet/tomcat-servlet/pom.xml
new file mode 100644
index 0000000..a4b89d2
--- /dev/null
+++ b/tomcat-servlet/tomcat-servlet/pom.xml
@@ -0,0 +1,74 @@
+
+
+
+ 4.0.0
+
+ com.cpic.xim
+ tomcat-servlet
+ 1.0-SNAPSHOT
+ war
+
+ tomcat-servlet Maven Webapp
+
+ http://www.example.com
+
+
+ UTF-8
+ 1.7
+ 1.7
+
+
+
+
+ junit
+ junit
+ 4.11
+ test
+
+
+ jakarta.servlet
+ jakarta.servlet-api
+ 5.0.0
+ system
+ ${project.basedir}/src/main/webapp/WEB-INF/lib/servlet-api.jar
+
+
+
+
+ tomcat-servlet
+
+
+
+
+ maven-clean-plugin
+ 3.1.0
+
+
+
+ maven-resources-plugin
+ 3.0.2
+
+
+ maven-compiler-plugin
+ 3.8.0
+
+
+ maven-surefire-plugin
+ 2.22.1
+
+
+ maven-war-plugin
+ 3.2.2
+
+
+ maven-install-plugin
+ 2.5.2
+
+
+ maven-deploy-plugin
+ 2.8.2
+
+
+
+
+
\ No newline at end of file
diff --git a/tomcat-servlet/tomcat-servlet/src/main/java/com/cpic/xim/ServletTest.java b/tomcat-servlet/tomcat-servlet/src/main/java/com/cpic/xim/ServletTest.java
new file mode 100644
index 0000000..85bb8de
--- /dev/null
+++ b/tomcat-servlet/tomcat-servlet/src/main/java/com/cpic/xim/ServletTest.java
@@ -0,0 +1,47 @@
+/*
+ * @Author: Kane
+ * @Date: 2022-08-23 21:28:26
+ * @LastEditors: Kane
+ * @LastEditTime: 2022-08-23 22:32:48
+ * @FilePath: \tomcat-servlet\src\main\java\com\cpic\xim\ServletTest.java
+ * @Description:
+ *
+ * Copyright (c) ${2022} by Kane, All Rights Reserved.
+ */
+package com.cpic.xim;
+
+import java.io.IOException;
+import java.io.PrintWriter;
+import jakarta.servlet.*;
+import jakarta.servlet.http.*;
+
+
+public class ServletTest extends HttpServlet
+{
+ @Override
+ public void doGet( HttpServletRequest request, HttpServletResponse response )
+ throws ServletException, IOException
+ {
+ PrintWriter writer = response.getWriter();
+ HttpSession session = request.getSession();
+
+ String sessionID = session.getId();
+
+ response.setContentType( "text/html" );
+
+ writer.write( "" );
+ writer.write( "" );
+ writer.write( "
" );
+ writer.write( "" );
+ writer.write( "" );
+ writer.write(
+ "" );
+ writer.write( "学习JSP" );
+ writer.write( "" );
+ writer.write( "" );
+ writer.write( "我的Session-ID是:" + sessionID );
+ writer.write( "" );
+ writer.write( "" );
+ writer.write( " " );
+ }
+}
diff --git a/tomcat-servlet/tomcat-servlet/src/main/webapp/WEB-INF/web.xml b/tomcat-servlet/tomcat-servlet/src/main/webapp/WEB-INF/web.xml
new file mode 100644
index 0000000..af80cb3
--- /dev/null
+++ b/tomcat-servlet/tomcat-servlet/src/main/webapp/WEB-INF/web.xml
@@ -0,0 +1,15 @@
+
+
+
+ Archetype Created Web Application
+
+
+ ServletTest
+ com.cpic.xim.ServletTest
+
+
+ ServletTest
+ /test
+
+
+
\ No newline at end of file
diff --git a/tomcat-servlet/tomcat-servlet/src/main/webapp/index.jsp b/tomcat-servlet/tomcat-servlet/src/main/webapp/index.jsp
new file mode 100644
index 0000000..76f15f6
--- /dev/null
+++ b/tomcat-servlet/tomcat-servlet/src/main/webapp/index.jsp
@@ -0,0 +1,24 @@
+
+<
+
+
+
+
+
+
+ Document
+
+
+ 访问servlet
+
+
+
diff --git a/tomcat-servlet/tomcat-servlet/target/maven-archiver/pom.properties b/tomcat-servlet/tomcat-servlet/target/maven-archiver/pom.properties
new file mode 100644
index 0000000..eeacace
--- /dev/null
+++ b/tomcat-servlet/tomcat-servlet/target/maven-archiver/pom.properties
@@ -0,0 +1,4 @@
+#Created by Apache Maven 3.8.5
+artifactId=tomcat-servlet
+groupId=com.cpic.xim
+version=1.0-SNAPSHOT
diff --git a/tomcat-servlet/tomcat-servlet/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/tomcat-servlet/tomcat-servlet/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
new file mode 100644
index 0000000..7336b26
--- /dev/null
+++ b/tomcat-servlet/tomcat-servlet/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
@@ -0,0 +1 @@
+com\cpic\xim\ServletTest.class
diff --git a/tomcat-servlet/tomcat-servlet/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/tomcat-servlet/tomcat-servlet/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
new file mode 100644
index 0000000..33887c0
--- /dev/null
+++ b/tomcat-servlet/tomcat-servlet/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
@@ -0,0 +1 @@
+D:\develop\study\servlet-learning\tomcat-servlet\tomcat-servlet\src\main\java\com\cpic\xim\ServletTest.java
diff --git a/tomcat-servlet/tomcat-servlet/target/tomcat-servlet/WEB-INF/web.xml b/tomcat-servlet/tomcat-servlet/target/tomcat-servlet/WEB-INF/web.xml
new file mode 100644
index 0000000..af80cb3
--- /dev/null
+++ b/tomcat-servlet/tomcat-servlet/target/tomcat-servlet/WEB-INF/web.xml
@@ -0,0 +1,15 @@
+
+
+
+ Archetype Created Web Application
+
+
+ ServletTest
+ com.cpic.xim.ServletTest
+
+
+ ServletTest
+ /test
+
+
+
\ No newline at end of file
diff --git a/tomcat-servlet/tomcat-servlet/target/tomcat-servlet/index.jsp b/tomcat-servlet/tomcat-servlet/target/tomcat-servlet/index.jsp
new file mode 100644
index 0000000..76f15f6
--- /dev/null
+++ b/tomcat-servlet/tomcat-servlet/target/tomcat-servlet/index.jsp
@@ -0,0 +1,24 @@
+
+<
+
+
+
+
+
+
+ Document
+
+
+ 访问servlet
+
+
+