File tree 3 files changed +25
-13
lines changed
3 files changed +25
-13
lines changed Original file line number Diff line number Diff line change @@ -48,13 +48,23 @@ metrics | @Timed
48
48
49
49
# ![ springfox] ( src/main/webapp/image/swagger.png )
50
50
---
51
- >
52
- > * develop开发分支
53
- > * cxf test ` apache cxf `
54
- > * JdbcTemplate(test spring `jdbctemplate`/test `shiro`)
55
- > * springtask(test spring `task`/`quartz`)
56
- > * velocity(test `velocity` template)
57
- > * swagger (test `swagger` api doc)
51
+
52
+ ## tomcat encoding
53
+
54
+ ```
55
+ <Connector port="8080" protocol="HTTP/1.1"
56
+ connectionTimeout="20000"
57
+ redirectPort="8443"
58
+ URIEncoding="ISO-8859-1"/>
59
+ ```
60
+
61
+
62
+ > * develop开发分支
63
+ > * cxf test ` apache cxf `
64
+ > * JdbcTemplate(test spring ` jdbctemplate ` /test ` shiro ` )
65
+ > * springtask(test spring ` task ` /` quartz ` )
66
+ > * velocity(test ` velocity ` template)
67
+ > * swagger (test ` swagger ` api doc)
58
68
59
69
# other projects
60
70
> ` ssmbt(ssmbootstrap_table maven module ) ` github:[ https://github.com/netbuffer/ssmbt ] ( https://github.com/netbuffer/ssmbt ) ` / ` git@osc:[ https://gitee.com/netbuffer/ssmbt ] ( https://gitee.com/netbuffer/ssmbt )
Original file line number Diff line number Diff line change
1
+ CREATE DATABASE u CHARACTER SET utf8 COLLATE utf8_general_ci;
2
+
1
3
CREATE TABLE `user ` (
2
4
` id` bigint (11 ) NOT NULL AUTO_INCREMENT,
3
5
` name` varchar (50 ) NOT NULL COMMENT ' 姓名' ,
Original file line number Diff line number Diff line change 1
1
jdbc.driver =com.mysql.jdbc.Driver
2
- jdbc.url =jdbc:mysql://127.0.0.1:3306/u
2
+ jdbc.url =jdbc:mysql://127.0.0.1:3306/u?useSSL=false&characterEncoding=utf8
3
3
jdbc.username =root
4
4
jdbc.password =root
5
- # \u5b9a\u4e49\u521d\u59cb\u8fde\u63a5 \u6570
5
+ # \u5B9A\u4E49\u521D\u59CB\u8FDE\u63A5 \u6570
6
6
jdbc.initialSize =1
7
- # \u5b9a\u4e49 \u6700\u5927\u8fde\u63a5 \u6570
7
+ # \u5B9A\u4E49 \u6700\u5927\u8FDE\u63A5 \u6570
8
8
jdbc.maxActive =2
9
- # \u5b9a\u4e49 \u6700\u5c0f\u7a7a\u95f2
9
+ # \u5B9A\u4E49 \u6700\u5C0F\u7A7A\u95F2
10
10
jdbc.minIdle =1
11
- # \u5b9a\u4e49 \u6700\u957f\u7b49\u5f85\u65f6\u95f4
11
+ # \u5B9A\u4E49 \u6700\u957F\u7B49\u5F85\u65F6\u95F4
12
12
jdbc.maxWait =6000
13
13
jdbc.validationQuery =select 0
14
14
# --------------------
@@ -17,5 +17,5 @@ jdbc.url2=jdbc:mysql://127.0.0.1:3306/u2
17
17
jdbc.username2 =root
18
18
jdbc.password2 =root
19
19
jdbc.mysql.connectTime =86400
20
- # 程序使用的端口
20
+ # \u7A0B\u5E8F\u4F7F\u7528\u7684\u7AEF\u53E3
21
21
appport =8080
You can’t perform that action at this time.
0 commit comments