title: How to define an array of strings as an environmental parameter/variable in the context-file?
body: <p>Within Tomcat 7 I can define environmental parameters/variables of specific types like in this context file:</p>
  
  <pre><code>&lt;Context&gt;
      &lt;Environment name="test" value="Hello Tomcat!" type="java.lang.String"
      override="false" /&gt;
  &lt;/Context&gt;
  </code></pre>
  
  <p>In Java I can get it like this:</p>
  
  <pre><code>(String) new InitialContext().lookup("java:comp/env/test"); //"Hello Tomcat!"
  </code></pre>
  
  <p>How can I define an array containing strings as values so I can read it from the context-file? I want to get something like this in my Java program:</p>
  
  <pre><code>(String[]) new InitialContext().lookup("java:comp/env/my_array");
  //{"Hello ", "Tomcat", "!"}
  </code></pre>
  
  <p>Is this possible within Tomcat 7?</p>