title: How can I print a servlet context attribute in EL?
body: <p>Is there a way I can get a attribute set in <code>ServletContext</code> in EL so that it ends up as a JavaScript variable?</p>
  
  <p>I am setting it as </p>
  
  <pre><code>context.setAttribute("testing.port", "9000");
  </code></pre>
  
  <p>I tried retrieving it like </p>
  
  <pre><code>alert("port" +'${testing.port}');
  </code></pre>
  
  <p>I am just getting a blank.</p>