I created a resource: /accounts/{accountId} which uses classes AccountServerResource.class, AccountPage.class and template accountPage.ftl.
Just for testing purpose I created a very simple template containing just one string:
<h1>Hello world</h1>
The page localhost:8111/accounts/21 is displayed correctly.
Now I want to go further and to add some more information to the resource. What I tried to do first, was adding an image to the template:
<h1>Hello, world</h1> <img src="img/user21.jpg">
But this time the image is not displayed. I have an error: the resource localhost:8111/accounts/21/img/user21.jpg is not found. The folder img is stored in the folder containing all *.class files and *.ftl files
How can I expose the image on my template page?