Spring MVC Example --- thymeleaf mybatis html jquery
we can use thymeleaf to view customers.
https://www.thymeleaf.org/doc/tutorials/3.0/thymeleafspring.html
https://www.thymeleaf.org/doc/articles/springmvcaccessdata.html
What is BootStrap Powerful, extensible, and feature-packed frontend toolkit. Build and customize with Sass, utilize prebuilt grid system and components, and bring projects to life with powerful JavaScript plugins.
https://getbootstrap.com/docs/5.3/getting-started/introduction/
jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript.
we use JQuery plguin [Data Tables] to show tables.
a most of jquery to oprater DOM and Style
Layout https://getbootstrap.jp/docs/5.3/examples/grid/
Collapse https://getbootstrap.jp/docs/5.3/components/collapse/
Action https://getbootstrap.jp/docs/5.3/components/dropdowns/
mock db data https://generatedata.com/
通过主键查询一条记录, 进行CRUD
主从表,对从表数据操作时. 通过主表,查询从表数据 编辑选中的从表数据.
https://projectlombok.org/download
open springsutis.ini and instert with last row -javaagent:d:\soft\lombok.jar