I am very new to using Dropwizard and the Freemarker template. I am trying to load the free marker template. However the images are not loaded in the page being displayed
i use the standard img tags of html to show the images
<img src="/media/images/mload.png" width="18" height="18" />
The images are available in the jar file.
Here is the structure of the project
src
|
– main
|
–resources
|
–media
|
—images
|
—mload.png
kindly let me know if am missing anything to display the image
From the official documentation:
You need to add the
AssetBundleto your service with something like: