title: request.get/setAttribute() vs this.getServletContext().get/setAttribute()
body: <p>what's the difference between <code>get/setAttribute()</code> when you call them from request and from <code>getServletContext()</code>. 
  I noticed that you need </p>
  
  <pre><code>RequestDispatcher rd = request.getRequestDispatcher("/view.jsp");
  rd.forward(request, response); 
  </code></pre>
  
  <p>for the request to work, but you just need to navigate to another jsp or servlet in the application to use <code>getServletContext().getAttribute()</code>. </p>
  
  <p>But i don't understand what is going on behind.</p>