Controller Code:
@Controller public class TestController { @RequestMapping("/") public String index() { return "login.jsp"; } } Instead of turning this page into html, it simply returns it as a file and the browser, using the save dialog, offers to save it on the computer.
I use Spring Boot, all Thymeleaf-style template engines have disconnected.
And at the same time, what can you read on this topic (Spring Boot and Java based config)? Because now my brain is crazy about all this, I frankly do not understand why if I just connected depending on Thymeleaf, it immediately starts to work and look for the View in the resources / templates folder (why this folder, where to change it?), If so why then for JSP files should be in the webapp folder, but not for other templating engines?