can resourceHandler and resourceLocation be same
<p>Why this doesnt work ?<code>registry.addResourceHandler("/res/**").addResourceLocations("/resources/");</code></p>

<p>but This works</p>

<pre><code>registry.addResourceHandler("/resources/**").addResourceLocations("/resources/");
</code></pre>