会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
君莫邪x
博客园
首页
新随笔
联系
订阅
管理
2022年8月15日
Spring 中的@Component、@Repository 和@Service 注解有什么区别?
摘要: @Repository注释是满足存储库(也称为数据访问对象或 DAO)角色或原型的任何类的标记。此标记的用途之一是异常的自动翻译,如Exception Translation中所述。 Spring 提供了更多的原型注解:@Component、@Service和@Controller. @Compon
阅读全文
posted @ 2022-08-15 15:30 君莫邪x
阅读(550)
评论(0)
推荐(0)
2021年10月9日
博客园主题设置
摘要: 页面定制CSS @import url(https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css);@media only screen and (max-width:1080px){.github-corner
阅读全文
posted @ 2021-10-09 09:25 君莫邪x
阅读(101)
评论(0)
推荐(0)
2021年10月8日
springMVC 几种页面跳转方式(转载)
摘要: springMVC 几种页面跳转方式 1.在注解的方式中 1.1通过HttpServletResponse的API直接输出(不需要配置渲染器) controller类的主要代码 复制@Controller public class RequestController{ @RequestMapping
阅读全文
posted @ 2021-10-08 10:14 君莫邪x
阅读(366)
评论(0)
推荐(0)
2021年9月10日
springboot整合thymeleaf
摘要: 目录结构 TestController package com.itheima.controller; import com.itheima.pojo.User; import org.springframework.stereotype.Controller; import org.springf
阅读全文
posted @ 2021-09-10 11:21 君莫邪x
阅读(42)
评论(0)
推荐(0)
ElasitcSearch一次实现分词和不分词搜索
摘要:
阅读全文
posted @ 2021-09-10 10:45 君莫邪x
阅读(51)
评论(0)
推荐(0)
公告