Hi everybody,
I'm developing a web application in which the user can enter some inputs to run a simulation. For each registered user, there must one folder created, where all the results coming out from the simulation are saved and also some images (png). These images must be displayed on one page and, if the user requires it, a report (pdf) must be generated, using these images. This pdf file must be saved in the same folder.
My idea was to define a fix location, external to the web application, using a context parameter, and saved there the folders and images, as they were created. This solution works, the folders and images are correctly created and saved, but when I try to display the images on a site, the browser cannot find the files and they are not shown.
I've tried to use in the src of the image first the location directly (e.g.: C:/user1/pictures/pict1.png) and then the file directive (e.g.: file:///C:/user1/pictures/pict1.png) and none of them are working.
Could anybody help me with this stuff? Any idea about why it is not recognizing the images? Because if I try lo load an image, which is stored in a folder inside the web application (e.g.: WebContent\pics), there is no problem...
Thanks in advance!!
patriDA