mirror of
https://gitee.com/coder-xiaomo/java-note
synced 2025-09-06 03:51:37 +08:00
2
This commit is contained in:
BIN
张博凯的Java学习笔记.assets/image-20220120155801302.png
Normal file
BIN
张博凯的Java学习笔记.assets/image-20220120155801302.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 149 KiB |
BIN
张博凯的Java学习笔记.assets/image-20220120160009256.png
Normal file
BIN
张博凯的Java学习笔记.assets/image-20220120160009256.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 47 KiB |
BIN
张博凯的Java学习笔记.assets/image-20220120160041194.png
Normal file
BIN
张博凯的Java学习笔记.assets/image-20220120160041194.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.6 KiB |
BIN
张博凯的Java学习笔记.assets/image-20220120160127852.png
Normal file
BIN
张博凯的Java学习笔记.assets/image-20220120160127852.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 62 KiB |
@@ -631,10 +631,44 @@ src/main/resources/applicationContext.xml
|
||||
> - resources:配置文件
|
||||
> - webapp:静态资源(html, css, 图片等)
|
||||
|
||||
##### 运行
|
||||
##### 启动
|
||||
|
||||
在 webapp 目录下创建 index.jsp ,然后运行就可以看到了。
|
||||
|
||||
> Tomcat控制台输出乱码解决方案
|
||||
>
|
||||
> 
|
||||
>
|
||||
> 在这两个地方添加下方配置
|
||||
>
|
||||
> ```
|
||||
> -Dfile.encoding=UTF-8
|
||||
> ```
|
||||
>
|
||||
> 1. idea
|
||||
>
|
||||
> 
|
||||
>
|
||||
>
|
||||
>
|
||||
> 
|
||||
>
|
||||
> 2. tomcat
|
||||
>
|
||||
> 
|
||||
>
|
||||
> 添加完后,重启idea即可
|
||||
|
||||
|
||||
|
||||
##### 配置SpringMVC
|
||||
|
||||
###### 导入依赖
|
||||
|
||||
- spring-context
|
||||
- spring-jdbc
|
||||
- spring-
|
||||
|
||||
|
||||
|
||||
### 连接数据库
|
||||
|
Reference in New Issue
Block a user