in my application when the user clicks on the thumbnail image (image is loading and displaying successfully), we needs to show him a popup window with bigger image(same as thumbnail). while working with Mozilla firefox, its displaying successfully, but while working with IE, I get an error with a popup window saying
Internet Explorer Can not download ImageAction.do/imageId=245 from loachost
Internet Explorer wen not able to open internet site, The requested site is either unavailable or cannot be found. Please try again.
even I tried several times I see the message.
see my code which is writing the image through ServletOutputStream.
I'm guessing that firefox is forgiving enough to correct the URL but IE isn't.
in my ImageAction class I was trying to writing the images in
but while uploading the image we used JPEG type image. Hence, we are struggling with loading the image on IE. Mozilla firefox have some default setups (it doesn't care about the image type) that no matter what image we are trying to displaying, it is working on Firefox.
Finally in my code I changed to
Then I see the image on IE too.
I have a question, if the user uploaded the image which is the type png, then how can we display them. Can we use multiple set contents in our action?