title: How to get ArrayList in JSP files using spring mvc
body: <pre><code>@RequestMapping("/get")
      public ModelAndView add()
      //public void Connector()
      {
          ApplicationContext ctx = new ClassPathXmlApplicationContext("applicationcontext.xml");
          EmployeeDao dao=(EmployeeDao) ctx.getBean("edao");
          List&lt;Employee&gt; list=dao.getAllEmployees();
  
          ModelAndView mv=new ModelAndView();
  
  
          mv.setViewName("display1.jsp");
          mv.addObject("emp", list);
          return mv;
          //System.out.println(dao.getAuth());
  
      }
  </code></pre>
  
  <p>I am trying to display the list to jsp using jstl with modelAndView object I am getting the list from database and but not able to print it on jsp.
  please help me
  thankyou</p>