title: JSP with CSS does not display the background image
body: <p>I have the following directory structure</p>
  
  <p><img src="https://i.stack.imgur.com/ZdhJ9.jpg" alt="structure">
  <a href="http://img853.imageshack.us/img853/7092/96816871.jpg" rel="nofollow noreferrer">http://img853.imageshack.us/img853/7092/96816871.jpg</a></p>
  
  <p>My CSS tries to use an image as a background</p>
  
  <pre><code>#search-text {
  width: 213px;
  height: 28px;
  padding: 6px 0 0 7px;
  border: none;
  background: url(../images/img02.jpg) no-repeat left top;
  color: #000000;
  </code></pre>
  
  <p>}</p>
  
  <p>and it doesn't work while other parts of css work fine.</p>
  
  <p>Firebug shows that application tries to access image by URL _http://localhost:8080/images/img02.jpg and gets 404 error</p>
  
  <p>When I try to access image directly I also get this error. Also I tried 
  _http://localhost:8080/paygate/images/img02.jpg 
  _http://localhost:8080/paygate/resources/images/img02.jpg 
  ...and this error doesn't stop follow me.</p>
  
  <p>When I've changed my CSS file to the following</p>
  
  <pre><code>background: url(images/img02.jpg) no-repeat left top;
  </code></pre>
  
  <p>warning appeared in webserver log:</p>
  
  <pre><code>WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/paygate/images/img02.jpg] in DispatcherServlet with name 'appServlet'
  </code></pre>
  
  <p>and Firebug showed 404 error for URL _http://localhost:8080/<strong>paygate</strong>/images/img02.jpg </p>
  
  <p>How should I organize my directory structure or what should I do to make my images accessible. Thank's!</p>
  
  <p>P.S. I'm using springsource tc server as a webserver.</p>