In that case, follow Gaurav's advice to check which path the HTML code is actually referring to. Then make that the image is accessible under that path (in other words, that there is no permission problem that prevents the image from being served). You should also check the web server logs to see if the image request comes in OK, and is answered by an HTTP 200 response.
Joined: Sep 17, 2007
thanks guys, i got the solution. As Dittmer said,i shifted the images folder to the WEB-INF level and i am able to view the images .