RESTEasy - access to web folder for geting image
- by Trick
I would like to allow users to access images saved in web folder.
For example - I have an image in web root folder "blank.png". But the link http://localhost:8080/myapp/blank.png returns 404 (not found).
Adding type to resteasy.media.type.mappings does not work.
I am a bit of a newbie in RESTEasy...