r/javahelp • u/_fishysushi • Nov 14 '19
Difference in using WEB-INF and resources folder
After reading this tutorial on Thymeleaf I found this one. First one uses some configurations to load templates from WEB-INF folder, second approach loads them from resources folder. What is the reasoning behind these approaches and what is the difference between them in web application context?
18
Upvotes
3
u/rbobko70 Nov 15 '19
The only difference is only in how your project tree will look like. I feel like
WEB-INFwas used some time ago and nowresourcesis the standard.