Best location to put your CSS and JS files in a Mavenized Java Web app?

前端 未结 4 2181
情话喂你
情话喂你 2021-02-08 03:05

I have a Web application in maven that follows this structure:

src
`-- main
    |-- java
    |-- resources
    `-- webapp

Is is better to put i

4条回答
  •  佛祖请我去吃肉
    2021-02-08 03:48

    I think they should be under src\main\webapp. The main rationale for saying this is that this is the standard suggested by Maven, and the Maven philosophy is that all projects should follow the same structure as much as possible.

提交回复
热议问题