I have HTML pages that I put inside temp folder(Outside WEB-INF directory). I have used some images inside my HTML pages. I have put those images also in temp folder and then I created my war file. When I run that in localhost, Images are not loaded into HTML pages. It shows all the contents except Images.
Then I created a folder images outside WEB-INF directory, put all image files into that and created war file. But the result was same. Can anyoe tell Where I am going wrong?
Have you checked whether the .gif file is in Uppercase or Lower case(you can get this information when you make the war file from command prompt).
If the “gif” is in Uppercase in the war file and you have given it as
<image background="bg.gif">, then change it to<image background="bg.GIF">. I think this is the problem you are facing.