title: Image not showing in JSP?
body: <p>I do have simple JSP web page, but it's not displaying an image</p>
  
  <p>This is my JSP page where it will fetch the image from pics folder under web content </p>
  
  <pre><code>&lt;%@ page language="java" contentType="text/html; charset=UTF-8"
      pageEncoding="UTF-8"%&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
  &lt;html&gt;
    &lt;head&gt;
      &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
      &lt;title&gt;Insert title here&lt;/title&gt;
    &lt;/head&gt;
    &lt;body&gt;
  
       &lt;img width = "80" src="${pageContext.request.contextPath}/pics/"&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>But the page looks like this</p>
  
  <p><a href="https://i.stack.imgur.com/KAOYS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KAOYS.png" alt="enter image description here"></a></p>