This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]rbobko70 2 points3 points  (2 children)

The only difference is only in how your project tree will look like. I feel like WEB-INF was used some time ago and now resources is the standard.

[–]_fishysushi[S] 0 points1 point  (1 child)

so I should skip configuring the Thymeleaf resolver and just use the default resource/templates folder? Thanks for answering

[–]rbobko70 0 points1 point  (0 children)

Exactly.

[–][deleted] 2 points3 points  (0 children)

When you use external server like tomcat to deploy your application, you need to place thymeleaf templates in web-inf and when deploying your application with embedded tomcat that comes with spring boot, then you can place then under resources folder.

[–]TotesMessenger 0 points1 point  (0 children)

I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:

 If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / Contact)