I have images that are stored in the database as a BLOB. Now I can display them on my jsf pages using the Richfaces mediaOutput tag.
Is it possible for images to have a path like "/images/image.jpg" while the images are stored in a database.
While searching for an answer, I came up something like this:
@GET @Path("/files/{filename}") @Produces(MediaType.WILDCARD)
Sincerely, Ilya Sidorovich
source share