Can DropWizard serve assets from outside the jar file?

zslayton picture zslayton · Jan 8, 2013 · Viewed 12.9k times · Source

In looking at the documentation, it appears that DropWizard is only able to serve static content living in src/main/resources. I'd like to keep my static files in a separate directory outside the jar file. Is that possible? Or do most people use nginx/Apache for their static content?

Answer

LiorH picture LiorH · Jan 17, 2013