title: Spring call Jndi variable to jsp
body: <p>I have some difficulties to call a JNDI variable to my jsp Page.</p>
  
  <p>Context.xml :</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;!-- Environnement de l'application --&gt;
  &lt;Environment name="app/env" override="false" type="java.lang.String" value="Développement" /&gt;
  </code></pre>
  
  <p>conf-view-spring.xml</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;jee:jndi-lookup id="jndiLookEnv" jndi-name="app/env"
      expected-type="java.lang.String" /&gt; 
  </code></pre>
  
  <p>footer.jsp</p>
  
  
  
  
  
  <pre><code>&lt;div class="panel-footer footerstick clearfix"&gt;
      &lt;div class="pull-right"&gt;
          &lt;strong&gt;&lt;c:out value="${jndiLookEnv}"&gt;&lt;/c:out&gt;&lt;/strong&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I have no error but my jndiLookEnv is empty, 
  What's wrong in this case?
  Thank you.</p>