RESTEasy - access to web folder for geting image

Posted by Trick on Stack Overflow See other posts from Stack Overflow or by Trick
Published on 2010-05-10T08:09:59Z Indexed on 2010/05/10 8:14 UTC
Read the original article Hit count: 377

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...

© Stack Overflow or respective owner

Related posts about resteasy

Related posts about java