robben
robben

Reputation: 181

Where to place static client side files in maven project

I created a new simple maven project. I was following the project structure found here, however, it doesn't state where to place .js, .sql, .html, .css, .jsp files. Where do I place static client side files such as these in my maven project?


Here is the project structure that I have now:

enter image description here


EDIT:

Also, this question is different from the one posted as a duplicated since my question involves general static files whereas the other question involves specific files like javascript. Please reopen.

Upvotes: 2

Views: 1019

Answers (1)

Mario
Mario

Reputation: 1781

If you are using WAR packaging, in webapp. If you are using JAR packaging, in resources.

EDIT: the .sql files should go always in resources

Upvotes: 4

Related Questions