eclipse web.xml jsp config
<p>In an Eclipse JEE project with the Dynamic Web Module 3.0 facet enabled, I am developping a webapp fragment which consists in Java classes, JSP and other pages, which will then be deployed in a WAR. In this WAR's <code>web.xml</code> there's the following:</p>

<pre class="lang-xml prettyprint-override"><code>&lt;jsp-config&gt;
    &lt;taglib&gt;
        &lt;taglib-uri&gt;/tags/struts-tiles&lt;/taglib-uri&gt;
        &lt;taglib-location&gt;/WEB-INF/struts-tiles.tld&lt;/taglib-location&gt;
    &lt;/taglib&gt;
    [same for other taglibs, JSTL core etc.]
&lt;/jsp-config&gt;
</code></pre>

<p>Which forces me to have at the beginning of my JSPs:</p>

<pre><code>&lt;%@ taglib uri="/tags/struts-tiles" prefix="tiles"%&gt;
</code></pre>

<p>But then, how do I tell Eclipse to take this jsp config into account? Right now it simply looks in the classpath, finds into <code>standard.jar</code> and <code>struts.jar</code> the tlds and sees the <code>&lt;uri&gt;</code> is wrong (for struts-tiles for example it's <code>http://jakarta.apache.org/struts/tags-tiles</code> and not <code>/tags/struts-tiles</code>), and then the JSP parser <code>Can not find the tag library descriptor for...</code>.</p>

<p>If I paste the <code>web.xml</code> in my project's <code>WEB-INF</code> folder it seems to be ignored.</p>