title: Resetting JSTL value
body: <p>I cant figure out why this is not working. Basicly the following code-snippet workes fine unless the <code>c:if</code> is true. </p>
  
  <p>If the if-statement is true, then clientId should be set manually to 1. This does work, but for some reason then it will not fetch the clientProps.</p>
  
  <p>ClientId=1 does work fine if it is fetched from the session-variable 'user'. So clientProps should have something at spot 1.
  Any clue?</p>
  
  <pre><code>&lt;c:set var="clientId" value="${sessionScope['user'].client.clientId}"/&gt;
  &lt;c:if test="${empty sessionScope['user'].client.clientId}"&gt;
      True
      &lt;c:set var="clientId" value="1" /&gt;
  &lt;/c:if&gt;
  
  &lt;c:set var="clientProperties" value="${clientProps[clientId]}"/&gt;
  &lt;c:set var="clientLogo" value="${clientProperties.clientLogo}"/&gt;
  &lt;c:set var="clientURL" value="${clientProperties.clientWebURL}" /&gt;
  clientId = ${clientId}
  clientLogo = ${clientLogo}
  clientURL = ${clientURL}
  </code></pre>
  
  <p>Result if user-object exists: </p>
  
  <p><code>clientId = 1 clientLogo = /images/logos/Logo1.png clientURL = http://www.xxx.xxx</code></p>
  
  <p>Result if user-object doesn exist:</p>
  
  <p><code>True clientId = 1 clientLogo = clientURL =</code></p>