I have an ear file that contains the war and a common jar file. The ear would be deployed in JBoss. One of the page of the application displays the image/photo. The photos should reside in the local drive... they should not be part of the ear/application. How can I display the photo thru the jsp page in the browser?
I could have written a servlet returning the image as stream to the img tag, but this solution is not appropriate... since the multiple photos could be displayed on the resulting page... and there would be multiple calls to the server to get the photo stream.