title: How to maintain session in spring MVC?
body: <p>Using spring MVC, I need to store my object into session and I should use the same object in several jsp pages using jstl. I have tried like this:</p>
  
  <pre><code>ModelAndView modelAndView = new ModelAndView("admin/addproduct", "category", categorynameList);
  </code></pre>
  
  <p>But I can't access the category to other jsp pages except <code>addproduct</code> page.</p>
  
  <p>How can I do that?</p>