摘要:
通过@ProperitesSource注解读取配置信息 1,加入依赖 2,通过自定义配置文件配置数据源信息 3,创建配置类 package com.bdqn.springbootjdbc.config; import com.alibaba.druid.pool.DruidDataSource; i 阅读全文
posted @ 2020-04-28 16:15
拯代码
阅读(2977)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2020-04-28 12:13
拯代码
阅读(1294)
评论(0)
推荐(0)
摘要:
1,URL表达式 1),语法 在Thymeleaf中URL表达式语法为@{} 2),绝对路径 <a th:href="@{http://www.baidu.com}">绝对路径</a> 3),相对路径 相对于当前项目的根 <a th:href="@{/show2}"></a> 相对于服务器路径的根 阅读全文
posted @ 2020-04-28 11:55
拯代码
阅读(346)
评论(0)
推荐(0)
摘要:
1,HttpServletRequest request.setAttribute("req","HttpServletRequest"); <span th:text="${#httpServletRequest.getAttribute('req')}"></span> <span th:tex 阅读全文
posted @ 2020-04-28 10:10
拯代码
阅读(612)
评论(0)
推荐(0)


浙公网安备 33010602011771号