title: Missing elements from web-fragment.xml in the effective web.xml
body: <p>In our project we make use of web-fragments to define some servlets so the artifacts easily can be used in other projects.</p>
  
  <p>Strange thing now is that we have a web-fragment.xml, but some of its contents doesn't get added to the effective web.xml.</p>
  
  <p>By example:</p>
  
  <p>The following configurations is present in the effective web.xml:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;filter&gt;
      &lt;filter-name&gt;superUserAutomaticLogon&lt;/filter-name&gt;
      &lt;filter-class&gt;nl.caiw.cool.util.filters.SuperUserAutomaticLogonFilter&lt;/filter-class&gt;
      &lt;async-supported&gt;false&lt;/async-supported&gt;
  &lt;/filter&gt;
  </code></pre>
  
  <p>But the following isn't:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;filter&gt;
      &lt;filter-name&gt;sitemesh&lt;/filter-name&gt;
      &lt;filter-class&gt;com.opensymphony.module.sitemesh.filter.PageFilter&lt;/filter-class&gt;
  &lt;/filter&gt;
  
  &lt;filter-mapping&gt;
      &lt;filter-name&gt;sitemesh&lt;/filter-name&gt;
      &lt;url-pattern&gt;/toolbox/modules/*&lt;/url-pattern&gt;
  &lt;/filter-mapping&gt;
  </code></pre>
  
  <p>We have tried several things, but we can't figure it out. Hopefully someone here can send us  in the right direction.</p>
  
  <p>Thanks in advance.</p>