struts 2 img example for a dynamic image.. one that the user of the website uploads. To be more clear on what I am doing. I am creating a profile for a user and the user is uploading his image which I am storing into sql 2008 filestream. I have directed the stream to a file on my desktop that i have as currentimage. I am also doing this with video but I am able to view this with the file:\\ url to file but I am not able to do this with the image. I need to see an example of how to do this for an image. I am currently doing this project in netbeans 6.9.1 with struts 2 under localhost.