Nothing to do with JSPs.
That gif image is not where you think it is.
Do a simple HTML page which just shows those two images (gif and png), since HTML is all the browser is going to see.

05-09-2011, 06:07 AM

rameshiit19

Thanks ! Both the images (gif & jpg) are getting displayed in the sample HTML page but when I use the same in jsp , only the " X Mark " gets displayed . I can able to get the path of the image by right clicking the "X Mark" .

05-09-2011, 09:25 AM

Tolls

And you've checked that the resultant HTML from the JSP is the same as the plain HTML you are checking against?
Post them both here.

05-09-2011, 10:37 AM

rameshiit19

I have just right clicked my jsp diplayed & viewed HTML source in browser as follows,