I have a curious problem. I have hosted an application on Tomcat. One of the modules called 'Employee Directory' needs to display the images of employees. Now my problem is that the Employee images are stored on one particular machine in the intranet.(For eg: \\192.168.2.119\\images\Bob.jpg). Now on the Home page i need to show a link for 'Employee Directory' on click of which i need to display the pages with the images. But the images as i mentioned earlier are present on someother machine (which is known) other than the machine on which Tomcat server is running. One option would be to make my servlet (on servlet load) download the images to some location on the server and then display on the client. But in this case i would always need my login to the Remote machine from my server to make the images available. How do i get about this? are there any other solutions??
posted 12 years ago
See this thread's first reply; that's basically what you'll have to do if you don't provide an HTTP-accessible URL to the images.