title: request.setAttribute is not overriding with new valuie in servlet
body: <p>I have servlet portion that receives HttpServletRequest  like below </p>
  
  <pre><code>public ActionForward execute(
          ActionMapping mapping,
          ActionForm form,
          HttpServletRequest request,
          HttpServletResponse response) throws Exception {
  
      if (request.getParameter("STATE").equalsIgnoreCase("TX")) {
          request.setAttribute("STATE", "IL");
      }
      System.out.println("Printing " + request.getParameter("STATE"));
  }
  </code></pre>
  
  <p>The code I wrote is When I am passing STATE as 'TX', its coming inside if block and overriding state as IL.</p>
  
  <p>But the new value is not overriding, I am always getting TX. I need to replace the TX with IL once i received request as TX. </p>
  
  <p>Please help me</p>