上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 66 下一页
摘要: 1 @GetMapping("/user/{id:\\d+}") //使用正则指定Id为数字 2 public User getInfo(@PathVariable String id){ 3 ... 4 } 阅读全文
posted @ 2019-03-25 21:20 SpringCore 阅读(3079) 评论(0) 推荐(0) 编辑
摘要: 1 package cn.coreqi.security.controller; 2 3 import org.junit.Before; 4 import org.junit.Test; 5 import org.junit.runner.RunWith; 6 import org.springframework.beans.factory.annotation.Autowire... 阅读全文
posted @ 2019-03-25 20:17 SpringCore 阅读(637) 评论(0) 推荐(0) 编辑
摘要: ⒈实体Bean ⒉仓库 ⒊服务层 ⒋控制层(待补充 阅读全文
posted @ 2019-03-22 20:42 SpringCore 阅读(577) 评论(0) 推荐(0) 编辑
摘要: ⒈定义片段 1.使用th:fragment 2.不使用th:fragment ⒉引用片段 1.引用使用th:fragment的片段 2.引用不使用th:fragment的片段 ⒊引用模板使用的th:insert、th:replace、th:include三者之间的区别 th:insert 将简单地插 阅读全文
posted @ 2019-03-14 20:34 SpringCore 阅读(578) 评论(0) 推荐(0) 编辑
摘要: ⒈理解Thymeleaf Java模板引擎。能够处理HTML、XML、JavaScript、CSS甚至纯文本。类似JSP、Freemarker 自然模板。原型即页面 语法优雅易懂,OGNL、SpringEL 遵从Web标准。支持HTML5 ⒉如何识别Thymeleaf标准方言 1.需要页面引入命名空 阅读全文
posted @ 2019-03-14 13:00 SpringCore 阅读(358) 评论(0) 推荐(0) 编辑
摘要: ⒈控制器Action示例 阅读全文
posted @ 2019-03-13 22:34 SpringCore 阅读(711) 评论(0) 推荐(0) 编辑
摘要: ⒈下载 点击此处 ⒉安装 1.解压 2.添加环境变量GRADLE_HOME 指向解压缩文件的磁盘地址 3.PATH环境变量添加%GRADLE_HOME%\bin ⒊使用阿里云仓库 ⒋编译 1.gradle build 2.gradlew build ⒌运行 1.java -jar 2.Applica 阅读全文
posted @ 2019-03-13 17:36 SpringCore 阅读(659) 评论(0) 推荐(0) 编辑
摘要: ⒈添加相关依赖 ⒉扫描项目接口实现类 ⒊代码中注入 阅读全文
posted @ 2019-03-12 14:05 SpringCore 阅读(499) 评论(0) 推荐(0) 编辑
摘要: ⒈添加相关依赖 ⒉扫描项目接口实现类 ⒊代码中注入 阅读全文
posted @ 2019-03-11 16:41 SpringCore 阅读(2015) 评论(6) 推荐(0) 编辑
摘要: 微软官方文档介绍 ⒈介绍 Office Online Server是 Office Web Apps Server 的升级版本,安装环境必须为两台Windows Server 2012 R2 或 Windows Server 2016服务器(注意,Windows Server 2016 需要 Off 阅读全文
posted @ 2019-03-10 18:20 SpringCore 阅读(16479) 评论(0) 推荐(0) 编辑
上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 66 下一页