会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
杂货商
龙蛇之蛰,尺蠖之屈
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
16
17
18
19
20
21
22
23
24
···
39
下一页
2019年12月13日
【持续更新】springboot相关配置
摘要: @Configuration public class MyWebMvcConfig implements WebMvcConfigurer { //注册了新的访问路径 @Override public void addResourceHandlers(ResourceHandlerRegistry
阅读全文
posted @ 2019-12-13 11:49 一半人生
阅读(291)
评论(0)
推荐(0)
2019年12月11日
thymeleaf抛出项目上下文ServletContext ,session,request等信息
摘要: @RequestMapping("/alls") public String allsinfo(HttpSession session, HttpServletRequest request,Model model){ session.setAttribute("username","小张sessi
阅读全文
posted @ 2019-12-11 12:58 一半人生
阅读(892)
评论(0)
推荐(0)
thymeleaf将对象ModelList数据抛到HTML页面
摘要:
阅读全文
posted @ 2019-12-11 09:49 一半人生
阅读(1106)
评论(0)
推荐(0)
thymeleaf将对象Model数据抛到HTML页面
摘要: thymeleaf名称空间 <!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> 1
阅读全文
posted @ 2019-12-11 09:26 一半人生
阅读(2268)
评论(0)
推荐(0)
2019年12月10日
springboot静态资源映射
摘要: 1、webjars:springboot中以jar包形式引入的静态资源 所有 /webjars/** ,都去classpath:/META-INF/resources/webjars/找资源; webjars官网:https://www.webjars.org/ 导入静态资源后,资源访问路径为: 如
阅读全文
posted @ 2019-12-10 09:42 一半人生
阅读(489)
评论(0)
推荐(0)
2019年12月9日
springboot热部署
摘要: https://www.jianshu.com/p/f658fed35786
阅读全文
posted @ 2019-12-09 13:18 一半人生
阅读(216)
评论(0)
推荐(0)
2019年12月4日
组件-vue自定义方法传递
摘要: 组件样式 面包屑导航栏 js Vue.component('bannerOne', { created() { console.log(this.bigbackColor); }, props: { imgSrc: { type: String, default: 'images/aboutYaot
阅读全文
posted @ 2019-12-04 14:11 一半人生
阅读(1490)
评论(0)
推荐(0)
2019年12月3日
springboot的基础pom
摘要: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:sc
阅读全文
posted @ 2019-12-03 15:00 一半人生
阅读(1132)
评论(0)
推荐(0)
2019年11月22日
解释一下,@SpringBootApplication
摘要: 解释一下,@SpringBootApplication其实就是以下三个注解的总和@Configuration: 用于定义一个配置类@EnableAutoConfiguration :Spring Boot会自动根据你jar包的依赖来自动配置项目。@ComponentScan: 告诉Spring 哪个
阅读全文
posted @ 2019-11-22 15:22 一半人生
阅读(165)
评论(0)
推荐(0)
2019年11月21日
Mybatis的一堆多映射实战案例,复合传值
摘要: 自己仿站jeep官网在制作商城时,商品详情页面需要带着一个商品的信息,商品的配置,配置对应的颜色,商品的图片 如图 首先设计业务bean 一辆车的信息 业务一对多的大业务bean,继承Car.java 几个list的类型不做赘述,本博客主要讲映射 对应的marrp.xml中设置 创建 <result
阅读全文
posted @ 2019-11-21 16:07 一半人生
阅读(345)
评论(0)
推荐(0)
上一页
1
···
16
17
18
19
20
21
22
23
24
···
39
下一页
公告