title: Add HTTP header into response for index.html
body: <p>In JavaEE application.<br>
  I have index.html page as "welcome-file" in web.xml</p>
  
  <pre><code>&lt;welcome-file-list&gt;
      &lt;welcome-file&gt;index.html&lt;/welcome-file&gt;
  &lt;/welcome-file-list&gt;
  </code></pre>
  
  <p><strong>I want to add Http Header into response for index.html</strong></p>
  
  <p>One way is use index.jsp instead of index.html and add inside an scriptlet:</p>
  
  <pre><code>&lt;% response.addHeader("X-Frame-Options", "DENY");  %&gt;
  </code></pre>
  
  <p>Is there any other way?
  Is there an possiblility to add some kind of filter<br>
  For example something like:</p>
  
  <pre><code>WelcomeFileFilter {
    void filter(HttpServletResponse response) {
      response.addHeader("X-Frame-Options", "DENY");
    }
  } 
  </code></pre>
  
  <p>Because I don't want to use index.jsp instead of index.html.</p>