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?

David Neuschulz
  • 113
  • 1
  • 8

1 Answers1

8
  • (a) In the webapp
  • (b) Your java resource files you need to access from the classpath
Paul Samsotha
  • 205,037
  • 37
  • 486
  • 720