摘要: 项目首次部署,服务启动之后,如果项目发生变化,而且IDEA感知到了应用的变化,就自动的完成jar的更新,无需手动再次启动服务器,就可以访问应用的更新。 热部署配置: 1.IDE配置(idea) File > settings Build > Compiler > 勾选 Build project a 阅读全文
posted @ 2022-04-26 23:23 临易 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 如果要在Thymeleaf模板中获取从控制传递的数据,需使用th标签。 1.在Thymeleaf模板页面引入th标签的命名空间。 test.html: <!DOCTYPE html> <html lang="en" xmlns:th="http://www.thymeleaf.org"> <head 阅读全文
posted @ 2022-04-26 17:51 临易 阅读(46) 评论(0) 推荐(0) 编辑