title: Display image in JSP (html)
body: <p>I have a very unexpected hard time to display an image in my JSP-class. I have put my Image in this folder: <code>C:\Users\jacob\workspace2\BuildRoomClientProject\WebContent\img</code>. When I use <code>&lt;img src="img/lund.png" height="50" width="50"&gt;</code> the image won't show, it's like eclipse cannot find any picture named <code>lund.png</code>. What am I doing wrong?</p>
  
  <p>And this is my <em>JSP-code</em>:</p>
  
  <pre><code>&lt;%@ page contentType="text/html;charset=windows-1252"%&gt; 
  
  &lt;%@ page import = "org.ics.ejb.Building" %&gt; 
  &lt;%@ page import = "org.ics.ejb.Room" %&gt; 
  &lt;%@ page import = "org.ics.ejb.RoomId" %&gt; 
  &lt;%@ page import = "java.util.List" %&gt; 
  &lt;%@ page import = "java.util.Iterator" %&gt;
  &lt;html&gt; 
  &lt;head&gt; 
  &lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt; 
  &lt;title&gt; 
  Show Rooms 
  &lt;/title&gt; 
  &lt;/head&gt; 
  &lt;body bgcolor="Pink"&gt; 
  &lt;h2&gt; 
  Rooms: 
  &lt;/h2&gt; 
  
  &lt;%List&lt;Room&gt; r = (List&lt;Room&gt;)request.getAttribute("rooms"); %&gt;
  &lt;% for (Room r1 : r){
  out.println(r1.getBname() + "  " + r1.getId().getrcode());
  }%&gt;
  
  &lt;p&gt; 
  &lt;/p&gt; 
  
  &lt;form action="/BuildRoomClientProject/TestClientServlet" method="post"&gt; 
  &lt;input type="submit" name="submit" value="Tillbaka"&gt; 
  &lt;input name="operation" value="searchbuilding" type="hidden"&gt; 
  &lt;/form&gt; 
  &lt;img src="img/lund.png" height="50" width="50"&gt;
  &lt;/body&gt; 
  &lt;/html&gt;
  </code></pre>