Where do I put files when trying to serve static files with the Spark web framework?
I haven\'t been able to find anything online - I\'m beginning to suspect I don\'
I put my style sheets below my static content as follows:
staticFileLocation( "/web" );
/web/
|-- index.html
+-- styles/
+
+--- default.css
And the index.html
...
I also have other generated HTML pages as with freemarker. They just collect the path:
Shows the CSS way index gets it.
Source: https://groups.google.com/d/msg/sparkjava/5vMuK_5GEBU/vh_jHra75u0J