- SpringMVCModelSampleApplication.java
File->New->Spring Starter Project
Finish
2.HelloModelController.java.
/SpringMVCModelSample/src/main/java/com/example/demo/controller/
- helloThymeleaf.html
/SpringMVCModelSample/src/main/resources/templates/
File->New->Spring Starter Project
Finish
2.HelloModelController.java.
/SpringMVCModelSample/src/main/java/com/example/demo/controller/
/SpringMVCModelSample/src/main/resources/templates/