My application is deployed on apache-tomcat 6.0.28.

When I deploy my app, Images are not loaded into HTML pages (404 error). It shows all the contents except Images.

I m facing exactly same problem as mentioned in [this post](https://stackoverflow.com/questions/9766160/loading-images-for-html-in-jboss). My web app structure is 

```
search-app.war
 |
 |---> WEB-INF
 |       |
 |      ----> classes
 |      ----> lib
 |      ----> pages
 |       |
 |       ----> xx.jsp
 |---> index.html
 |---> css
 |      |
 |      ----> search.css
 |---> images
 |       |
 |       ----> logo.gif

```

I m accessing logo.gif from xx.jsp, here is a code 

```
<div id="logo">
<img src="search-app/images/logo.gif" alt="search" style="padding-top:150px;" />
</div>

```

I tried every other option of src but every time I get 404 for that image.

If i hit this - <http://[localhost]:8080/search-app/images/logo.gif> on a browser, still its 404.

Same issue with css - 

```
Request URL:http://localhost:8080/search-app/css/search.css
Request Method:GET
Status Code:404 Not Found

```

This error is killing me now!! Please help. Thanks.