diff --git a/untitled/.gitignore b/untitled/.gitignore new file mode 100644 index 0000000..f68d109 --- /dev/null +++ b/untitled/.gitignore @@ -0,0 +1,29 @@ +### IntelliJ IDEA ### +out/ +!**/src/main/**/out/ +!**/src/test/**/out/ + +### Eclipse ### +.apt_generated +.classpath +.factorypath +.project +.settings +.springBeans +.sts4-cache +bin/ +!**/src/main/**/bin/ +!**/src/test/**/bin/ + +### NetBeans ### +/nbproject/private/ +/nbbuild/ +/dist/ +/nbdist/ +/.nb-gradle/ + +### VS Code ### +.vscode/ + +### Mac OS ### +.DS_Store \ No newline at end of file diff --git a/untitled/.idea/.gitignore b/untitled/.idea/.gitignore new file mode 100644 index 0000000..35410ca --- /dev/null +++ b/untitled/.idea/.gitignore @@ -0,0 +1,8 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/untitled/.idea/artifacts/untitled_war_exploded.xml b/untitled/.idea/artifacts/untitled_war_exploded.xml new file mode 100644 index 0000000..bc06e80 --- /dev/null +++ b/untitled/.idea/artifacts/untitled_war_exploded.xml @@ -0,0 +1,13 @@ + + + $PROJECT_DIR$/out/artifacts/untitled_war_exploded + + + + + + + + + + \ No newline at end of file diff --git a/untitled/.idea/misc.xml b/untitled/.idea/misc.xml new file mode 100644 index 0000000..e1f830b --- /dev/null +++ b/untitled/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/untitled/.idea/modules.xml b/untitled/.idea/modules.xml new file mode 100644 index 0000000..3007dae --- /dev/null +++ b/untitled/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/untitled/.idea/webContexts.xml b/untitled/.idea/webContexts.xml new file mode 100644 index 0000000..58c8f10 --- /dev/null +++ b/untitled/.idea/webContexts.xml @@ -0,0 +1,10 @@ + + + + + + \ No newline at end of file diff --git a/untitled/src/Main.java b/untitled/src/Main.java new file mode 100644 index 0000000..fe7aa2b --- /dev/null +++ b/untitled/src/Main.java @@ -0,0 +1,15 @@ +//TIP 要运行代码,请按 或 +// 点击装订区域中的 图标。 +public class Main { + public static void main(String[] args) { + //TIP 当文本光标位于高亮显示的文本处时按 + // 查看 IntelliJ IDEA 建议如何修正。 + System.out.printf("Hello and welcome!"); + + for (int i = 1; i <= 5; i++) { + //TIP 按 开始调试代码。我们已经设置了一个 断点 + // 但您始终可以通过按 添加更多断点。 + System.out.println("i = " + i); + } + } +} \ No newline at end of file diff --git a/untitled/untitled.iml b/untitled/untitled.iml new file mode 100644 index 0000000..abfa2d4 --- /dev/null +++ b/untitled/untitled.iml @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/untitled/web/404.jsp b/untitled/web/404.jsp new file mode 100644 index 0000000..ccc4a93 --- /dev/null +++ b/untitled/web/404.jsp @@ -0,0 +1,18 @@ +<%-- + Created by IntelliJ IDEA. + User: 12762 + Date: 2025/4/22 + Time: 下午2:30 + To change this template use File | Settings | File Templates. +--%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + + 404 - 页面未找到 + + +

404 错误

+

抱歉,您访问的页面不存在。

+ + \ No newline at end of file diff --git a/untitled/web/500.jsp b/untitled/web/500.jsp new file mode 100644 index 0000000..1e19d69 --- /dev/null +++ b/untitled/web/500.jsp @@ -0,0 +1,18 @@ +<%-- + Created by IntelliJ IDEA. + User: 12762 + Date: 2025/4/22 + Time: 下午2:34 + To change this template use File | Settings | File Templates. +--%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + + 500 - 页面未找到 + + +

500 错误

+

抱歉,您访问的页面不存在。

+ + \ No newline at end of file diff --git a/untitled/web/WEB-INF/web.xml b/untitled/web/WEB-INF/web.xml new file mode 100644 index 0000000..58f9322 --- /dev/null +++ b/untitled/web/WEB-INF/web.xml @@ -0,0 +1,11 @@ + + + + 404 + /404.jsp + + + 500 + /500.jsp + + \ No newline at end of file diff --git a/untitled/web/a.jsp b/untitled/web/a.jsp new file mode 100644 index 0000000..668754c --- /dev/null +++ b/untitled/web/a.jsp @@ -0,0 +1,18 @@ +<%-- + Created by IntelliJ IDEA. + User: 12762 + Date: 2025/4/22 + Time: 下午2:17 + To change this template use File | Settings | File Templates. +--%> +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> + + + + + Page A + + +

这是 A 页面的内容

+ + \ No newline at end of file diff --git a/untitled/web/b.jsp b/untitled/web/b.jsp new file mode 100644 index 0000000..a649da7 --- /dev/null +++ b/untitled/web/b.jsp @@ -0,0 +1,28 @@ +<%-- + Created by IntelliJ IDEA. + User: 12762 + Date: 2025/4/22 + Time: 下午2:14 + To change this template use File | Settings | File Templates. +--%> +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> + + + + + Page B + + + +

这是 B 页面的内容

+ + + \ No newline at end of file diff --git a/untitled/web/index.jsp b/untitled/web/index.jsp new file mode 100644 index 0000000..ca6655d --- /dev/null +++ b/untitled/web/index.jsp @@ -0,0 +1,16 @@ +<%-- + Created by IntelliJ IDEA. + User: 12762 + Date: 2025/4/22 + Time: 下午2:10 + To change this template use File | Settings | File Templates. +--%> +<%@ page contentType="text/html;charset=UTF-8" language="java" %> + + + $Title$ + + + $END$ + +