title: How to remove only one attribute in session java spring
body: <p>I am trying to learn how to use session attributes, but I have a problem removing them from session.
  I want to remove only one attribute from session, but using status.setComlete() removes all my attributes from session.
  I have been searching how to do it:</p>
  <pre><code>status.setComplete();       
  request.removeAttribute(&quot;listaMaquinasImportar&quot;, WebRequest.SCOPE_SESSION);
  </code></pre>
  <p>This removes all the attributes.
  Is there a way to do this?</p>
  <p>Thanks.</p>