I am trying to figure out how I can save dynamic images in a directory which is outside of my EAR file and access those images from HTML client.
I deploy EAR file on JBOSS_3.0.4/Jetty. My application needs to dynamically get images from the database and save them on the file system, so the HTML client can display those images, for example:
My question is: in which JBOSS's directory I have to create the directory "MembersImages" (since it is not in the EAR file)?
Thank you for help in advance
Where are the images being pulled from? If they are created by a servlet, or retrieved from a database by a servlet, try putting the servlet uri/url in the image source tag. For example, if you have a servlet "imgsrv" that outputs a dynamic image, try (eg) .