From d5cabbeb5f88761603bb8f3965876adf9e0ce9a2 Mon Sep 17 00:00:00 2001
From: sun-xuehui <2059254631@qq.com>
Date: Tue, 16 Apr 2024 16:41:32 +0800
Subject: [PATCH 1/4] the first test
---
.idea/.gitignore | 8 ++++
.idea/misc.xml | 6 +++
.idea/modules.xml | 8 ++++
.idea/vcs.xml | 6 +++
.idea/web-framework.iml | 11 +++++
out/production/web-framework/.gitignore | 23 +++++++++++
out/production/web-framework/.idea/.gitignore | 8 ++++
out/production/web-framework/.idea/misc.xml | 6 +++
.../web-framework/.idea/modules.xml | 8 ++++
out/production/web-framework/.idea/vcs.xml | 6 +++
.../web-framework/.idea/web-framework.iml | 11 +++++
out/production/web-framework/README.en.md | 36 +++++++++++++++++
out/production/web-framework/README.md | 40 +++++++++++++++++++
test.java | 5 +++
14 files changed, 182 insertions(+)
create mode 100644 .idea/.gitignore
create mode 100644 .idea/misc.xml
create mode 100644 .idea/modules.xml
create mode 100644 .idea/vcs.xml
create mode 100644 .idea/web-framework.iml
create mode 100644 out/production/web-framework/.gitignore
create mode 100644 out/production/web-framework/.idea/.gitignore
create mode 100644 out/production/web-framework/.idea/misc.xml
create mode 100644 out/production/web-framework/.idea/modules.xml
create mode 100644 out/production/web-framework/.idea/vcs.xml
create mode 100644 out/production/web-framework/.idea/web-framework.iml
create mode 100644 out/production/web-framework/README.en.md
create mode 100644 out/production/web-framework/README.md
create mode 100644 test.java
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..0548357
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..8e99870
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/web-framework.iml b/.idea/web-framework.iml
new file mode 100644
index 0000000..b107a2d
--- /dev/null
+++ b/.idea/web-framework.iml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/out/production/web-framework/.gitignore b/out/production/web-framework/.gitignore
new file mode 100644
index 0000000..a1c2a23
--- /dev/null
+++ b/out/production/web-framework/.gitignore
@@ -0,0 +1,23 @@
+# Compiled class file
+*.class
+
+# Log file
+*.log
+
+# BlueJ files
+*.ctxt
+
+# Mobile Tools for Java (J2ME)
+.mtj.tmp/
+
+# Package Files #
+*.jar
+*.war
+*.nar
+*.ear
+*.zip
+*.tar.gz
+*.rar
+
+# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
+hs_err_pid*
diff --git a/out/production/web-framework/.idea/.gitignore b/out/production/web-framework/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/out/production/web-framework/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/out/production/web-framework/.idea/misc.xml b/out/production/web-framework/.idea/misc.xml
new file mode 100644
index 0000000..0548357
--- /dev/null
+++ b/out/production/web-framework/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/out/production/web-framework/.idea/modules.xml b/out/production/web-framework/.idea/modules.xml
new file mode 100644
index 0000000..8e99870
--- /dev/null
+++ b/out/production/web-framework/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/out/production/web-framework/.idea/vcs.xml b/out/production/web-framework/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/out/production/web-framework/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/out/production/web-framework/.idea/web-framework.iml b/out/production/web-framework/.idea/web-framework.iml
new file mode 100644
index 0000000..b107a2d
--- /dev/null
+++ b/out/production/web-framework/.idea/web-framework.iml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/out/production/web-framework/README.en.md b/out/production/web-framework/README.en.md
new file mode 100644
index 0000000..bd2cb73
--- /dev/null
+++ b/out/production/web-framework/README.en.md
@@ -0,0 +1,36 @@
+# 软件开发与管理
+
+#### Description
+{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**}
+
+#### Software Architecture
+Software architecture description
+
+#### Installation
+
+1. xxxx
+2. xxxx
+3. xxxx
+
+#### Instructions
+
+1. xxxx
+2. xxxx
+3. xxxx
+
+#### Contribution
+
+1. Fork the repository
+2. Create Feat_xxx branch
+3. Commit your code
+4. Create Pull Request
+
+
+#### Gitee Feature
+
+1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
+2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
+3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
+4. The most valuable open source project [GVP](https://gitee.com/gvp)
+5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
+6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
diff --git a/out/production/web-framework/README.md b/out/production/web-framework/README.md
new file mode 100644
index 0000000..d63e54d
--- /dev/null
+++ b/out/production/web-framework/README.md
@@ -0,0 +1,40 @@
+# 软件开发与管理课程 - Java EE
+
+## 基于Maven的JavaSE项目
+
+#### 介绍
+在IDEA中创建基于Maven的JavaSE或Web项目,实现任意功能,并完成以下Maven功能的验证:
+
+* 添加JUnit(版本不限)依赖,指定Scope。
+* 运行Maven测试
+* 部署运行项目
+* 使用Javadoc插件生成项目文档
+
+
+## 基于Model2的登录功能
+
+#### 介绍
+基于Model2的登录功能
+包括:
+* 页面:Login.jsp,LoginSuccess(main).jsp
+* Java类:LoginServlet.java,User.java
+* 数据库:user表
+
+## 基于Filter的用户登录验证
+
+#### 介绍
+- 类:LoginFilter.java
+- 要求:退出系统后不能访问main.jsp,跳转到login.jsp
+- 方法:点击退出,清除session
+
+更复杂的验证例子,参考
+http://www.cnblogs.com/coderland/p/5902878.html
+
+
+## 基于Listener完成在线人数和登陆用户统计
+
+#### 介绍
+- 要求:显示在线人数和登陆用户数
+- 方法:
+1. 使用监听器(HttpSessionListener)完成功能
+2. 加入用户退出功能
diff --git a/test.java b/test.java
new file mode 100644
index 0000000..048ecc3
--- /dev/null
+++ b/test.java
@@ -0,0 +1,5 @@
+public class test {
+ public static void main(String[] args) {
+ System.out.println("hello world");
+ }
+}
--
Gitee
From 06e6f01f742aafb11ebaff253f970bc12d2493cd Mon Sep 17 00:00:00 2001
From: sun-xuehui <2059254631@qq.com>
Date: Tue, 16 Apr 2024 16:55:02 +0800
Subject: [PATCH 2/4] maven demo1
---
.idea/compiler.xml | 17 +++++
.idea/encodings.xml | 15 ++++
.idea/jarRepositories.xml | 20 ++++++
pom.xml | 25 +++++++
src/main/java/org/example/App.java | 13 ++++
src/test/java/org/example/AppTest.java | 38 ++++++++++
target/maven-archiver/pom.properties | 5 ++
.../compile/default-compile/createdFiles.lst | 1 +
.../compile/default-compile/inputFiles.lst | 1 +
.../default-testCompile/createdFiles.lst | 1 +
.../default-testCompile/inputFiles.lst | 1 +
.../TEST-org.example.AppTest.xml | 70 +++++++++++++++++++
.../surefire-reports/org.example.AppTest.txt | 4 ++
tomcat-demo6.iml | 19 +++++
14 files changed, 230 insertions(+)
create mode 100644 .idea/compiler.xml
create mode 100644 .idea/encodings.xml
create mode 100644 .idea/jarRepositories.xml
create mode 100644 pom.xml
create mode 100644 src/main/java/org/example/App.java
create mode 100644 src/test/java/org/example/AppTest.java
create mode 100644 target/maven-archiver/pom.properties
create mode 100644 target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
create mode 100644 target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
create mode 100644 target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
create mode 100644 target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
create mode 100644 target/surefire-reports/TEST-org.example.AppTest.xml
create mode 100644 target/surefire-reports/org.example.AppTest.txt
create mode 100644 tomcat-demo6.iml
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
new file mode 100644
index 0000000..c0f682f
--- /dev/null
+++ b/.idea/compiler.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
new file mode 100644
index 0000000..fb597b2
--- /dev/null
+++ b/.idea/encodings.xml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
new file mode 100644
index 0000000..239ee96
--- /dev/null
+++ b/.idea/jarRepositories.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..f9c216d
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,25 @@
+
+ 4.0.0
+
+ org.example
+ maven-demo1
+ 1.0-SNAPSHOT
+ jar
+
+ maven-demo1
+ http://maven.apache.org
+
+
+ UTF-8
+
+
+
+
+ junit
+ junit
+ 3.8.1
+ test
+
+
+
diff --git a/src/main/java/org/example/App.java b/src/main/java/org/example/App.java
new file mode 100644
index 0000000..5f21d2e
--- /dev/null
+++ b/src/main/java/org/example/App.java
@@ -0,0 +1,13 @@
+package org.example;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
diff --git a/src/test/java/org/example/AppTest.java b/src/test/java/org/example/AppTest.java
new file mode 100644
index 0000000..d5f435d
--- /dev/null
+++ b/src/test/java/org/example/AppTest.java
@@ -0,0 +1,38 @@
+package org.example;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+ extends TestCase
+{
+ /**
+ * Create the test case
+ *
+ * @param testName name of the test case
+ */
+ public AppTest( String testName )
+ {
+ super( testName );
+ }
+
+ /**
+ * @return the suite of tests being tested
+ */
+ public static Test suite()
+ {
+ return new TestSuite( AppTest.class );
+ }
+
+ /**
+ * Rigourous Test :-)
+ */
+ public void testApp()
+ {
+ assertTrue( true );
+ }
+}
diff --git a/target/maven-archiver/pom.properties b/target/maven-archiver/pom.properties
new file mode 100644
index 0000000..4d0edc4
--- /dev/null
+++ b/target/maven-archiver/pom.properties
@@ -0,0 +1,5 @@
+#Generated by Maven
+#Tue Apr 16 16:05:35 CST 2024
+version=1.0-SNAPSHOT
+groupId=org.example
+artifactId=maven-demo1
diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
new file mode 100644
index 0000000..6f29ee3
--- /dev/null
+++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst
@@ -0,0 +1 @@
+org\example\App.class
diff --git a/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
new file mode 100644
index 0000000..6d9ecc0
--- /dev/null
+++ b/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
@@ -0,0 +1 @@
+D:\code\maven-demo1\src\main\java\org\example\App.java
diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
new file mode 100644
index 0000000..6077a71
--- /dev/null
+++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/createdFiles.lst
@@ -0,0 +1 @@
+org\example\AppTest.class
diff --git a/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
new file mode 100644
index 0000000..879cd20
--- /dev/null
+++ b/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst
@@ -0,0 +1 @@
+D:\code\maven-demo1\src\test\java\org\example\AppTest.java
diff --git a/target/surefire-reports/TEST-org.example.AppTest.xml b/target/surefire-reports/TEST-org.example.AppTest.xml
new file mode 100644
index 0000000..8e4e2cc
--- /dev/null
+++ b/target/surefire-reports/TEST-org.example.AppTest.xml
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/target/surefire-reports/org.example.AppTest.txt b/target/surefire-reports/org.example.AppTest.txt
new file mode 100644
index 0000000..4bbb05a
--- /dev/null
+++ b/target/surefire-reports/org.example.AppTest.txt
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------------------
+Test set: org.example.AppTest
+-------------------------------------------------------------------------------
+Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 sec
diff --git a/tomcat-demo6.iml b/tomcat-demo6.iml
new file mode 100644
index 0000000..e3e8321
--- /dev/null
+++ b/tomcat-demo6.iml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
--
Gitee
From 4e91f07a9176b2c5f3ff7e9ecb3eedfa36f4478a Mon Sep 17 00:00:00 2001
From: sun-xuehui <2059254631@qq.com>
Date: Tue, 16 Apr 2024 17:00:43 +0800
Subject: [PATCH 3/4] delete 0.txt
---
0.txt | 0
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 0.txt
diff --git a/0.txt b/0.txt
new file mode 100644
index 0000000..e69de29
--
Gitee
From 27ac027ae7ec76c642ce0b523e1b234444df70a9 Mon Sep 17 00:00:00 2001
From: sun-xuehui <2059254631@qq.com>
Date: Tue, 16 Apr 2024 17:08:17 +0800
Subject: [PATCH 4/4] change text
---
0.txt | 0
1 file changed, 0 insertions(+), 0 deletions(-)
delete mode 100644 0.txt
diff --git a/0.txt b/0.txt
deleted file mode 100644
index e69de29..0000000
--
Gitee