title: Showing image with absolute path in JSP
body: <p>I'm using Java, JSP and Jetty to develop a website.</p>
  
  <p>I'm having some problem with images paths passed in src of <code>&lt;img&gt;</code> tags.</p>
  
  <p>In my database, I have the Linux absolute path of the users' images. I get this value and put into the "src" attribute.</p>
  
  <p>I have the path, for example:</p>
  
  <ul>
  <li>/home/website/images/image1.png</li>
  </ul>
  
  <p>Making this way, the image doesn't appear.
  Thinking for a long time, I've concluded that's natural because I've never seen in any website image with such path to an absolute path of the OS.</p>
  
  <p>What I need to know is what I have to do?</p>
  
  <p>Do I have to alter Jetty's configuration?
  Do I have to run some code in Java?</p>
  
  <p>Searching through Google, I got more confused. I would like an explanation.</p>
  
  <p><br>
  <strong>UPDATE (26/03/2013)</strong></p>
  
  <p>I found this way of treating this issue:</p>
  
  <p><a href="http://balusc.blogspot.com.br/2007/04/imageservlet.html" rel="nofollow">http://balusc.blogspot.com.br/2007/04/imageservlet.html</a></p>
  
  <p>Thank you BalusC! hauhauhahaua</p>