What's the diff btween src/main/resources and src/main/webapp/resources?
Asked Answered
B

1

9

I have a Spring MVC 3.0 project, using Maven, generated right from Eclipse's New -> Project -> Spring Project -> Spring MVC Project. However, I see two resources folders, one directly under src/main and another one level deeper under src/main/webapp. I guess this is a two part question.:

(a) Under which of the two should my static content (css, js, and imgs) go? and

(b) What, then, is supposed to go under the other one?

Beelzebub answered 2/8, 2014 at 19:2 Comment(0)
E
9
  • (a) In the webapp
  • (b) Your java resource files you need to access from the classpath
Eminent answered 3/8, 2014 at 2:2 Comment(1)
(b) generally configuration/propertie files.Armilla

© 2022 - 2024 — McMap. All rights reserved.