SpringBoot学习
未来码王
这个作者很懒,什么都没留下…
展开
-
SpringBoot之Web开发基础
RequestMapping注解提供了method参数指定请求的Method类型,包括RequestMethod.GET、RequestMethod.POST、RequestMethod.DELETE等值,分别对应HTTP请求的Method。将请求参数绑定到控制器的方法参数上,接收的参数来自HTTP请求体或请求url的QueryString,当请求的参数名称与Controller的业务方法参数名称一致时,@RequestParam可以省略。如果请求的是页面和数据,使用@Controller注解即可;原创 2023-07-04 11:29:28 · 357 阅读 · 0 评论 -
新版idea开启热部署
4.在File-Settings-Advanced Settings下选择Allow auto-make to start even if developed application is currently running。3.选择File-Settings-Build, Execution, Deployment-Compiler,选中Build project automile-atically。2.在application.properties文件中进行相应配置。原创 2023-07-03 15:44:20 · 219 阅读 · 1 评论