摘要: 1. 获取变量值 <p th:text="'Hello!, ' + ${name} + '!'" >3333</p> 对于javaBean的话使用变量名.属性名方式获取,这点和EL表达式一样 $表达式只能写在th标签内部,不然不会生效,上面例子就是使用th:text标签的值替换p标签里面的值,至于p 阅读全文
posted @ 2018-04-03 15:15 ~清风煮酒~ 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 首先安装环境: [root@local nginx-1.9.14]# yum install gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl--devel –y 安装之前,最好检查一下是否已经安装有nginx $ find -name 阅读全文
posted @ 2018-04-03 15:13 ~清风煮酒~ 阅读(199) 评论(0) 推荐(0) 编辑
摘要: /** * Created by zhiqi.shao on 2018/4/3. */ @EnableAsync @Configuration public class TaskPoolConfig { @Bean("taskExecutor") public Executor taskExecutor() { ThreadPoolTaskExecutor ... 阅读全文
posted @ 2018-04-03 14:59 ~清风煮酒~ 阅读(242) 评论(0) 推荐(0) 编辑
摘要: Controller测试类 Service测试类 阅读全文
posted @ 2018-04-03 10:02 ~清风煮酒~ 阅读(693) 评论(0) 推荐(0) 编辑