Link to home
Start Free TrialLog in
Avatar of CIPL-Senthil

asked on

How to load images from outside of the web application

Dear Experts,

I want to load  images that are stored outside of my web application.I mean that i am storing the images in
E:/Images folder.i want to load the images from that folder into my web application.

please advice
Avatar of favoretti
Flag of Netherlands image

Hello CIPL-Senthil,

Generally it's a bad habit. You should place the images somewhere under your DocumentRoot of your website. However, if you insist, you could set-up a directory alias in your webserver. How to do that depends on which webserver you're using.


Avatar of CIPL-Senthil


Dear favoretti,

can you please explain me clearly how to set-up a directory alias in my webserver.currently i am using JBoss application server.

Dear Senthil,

Unfortunately I lack on the part of JBoss. I will have to leave it to someone who knows the particular server. On the other hand, why do you want to have images outside of your site tree?

Avatar of mrcoffee365
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial