title: The server encountered an unexpected condition that prevented it from fulfilling the request
body: <p>I am trying to display Data from DB.But Shows error as </p>
  
  <blockquote>
    <p>The server encountered an unexpected condition that prevented it from
    fulfilling the request</p>
  </blockquote>
  
  <p>Exception</p>
  
  <pre><code>org.apache.jasper.JasperException: An exception occurred processing JSP page /WEB-INF/pages/Detail.jsp at line 14
  
  11: &lt;/head&gt;
  12: &lt;body&gt;
  13: 
  14: &lt;c:forEach var="x" items="${prdt}"&gt;
  15: &lt;table&gt;
  16: &lt;img src="resources/Images/${x.id}.png"/&gt;
  17: &lt;td&gt;"
  </code></pre>
  
  <h1>MY JSP</h1>
  
  <pre><code>&lt;c:forEach var="x" items="${prdt}"&gt;
  &lt;table&gt;
  &lt;img src="resources/Images/${x.id}.png"/&gt;
  &lt;td&gt;
  &lt;c:out value="${x.product_Name}"/&gt;&lt;/td&gt;
  &lt;td&gt;
  &lt;c:out value="${x.descripction}"/&gt;&lt;/td&gt;
  &lt;td&gt;
  &lt;c:out value="${x.price}"/&gt;&lt;/td&gt;
  &lt;td&gt;
  &lt;c:out value="${x.mfg_Date}"/&gt;
  &lt;/td&gt;
  &lt;/table&gt;
  &lt;/c:forEach&gt;
  </code></pre>
  
  <h1>My Controller</h1>
  
  <pre><code>public ModelAndView productDtails(@PathVariable int id)
  {   
  ModelAndView model=new ModelAndView("Detail");
  model.addObject("prdt",pd.getById(id));
  return model;
  }
  </code></pre>
  
  <h1>My DAO IMpl</h1>
  
  <pre><code>public Product getById(int id) 
  {   
  Session session=sessionFactory.openSession();
  Product p=(Product) session.get(Product.class, id);
  session.close();
  return p;
  }
  </code></pre>
  
  <p>Any Idea????</p>