title: JRebel rebel.xml configuration problems using web and link elements
body: <p>I have the following rebel.xml file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns="http://www.zeroturnaround.com"
               xsi:schemaLocation="http://www.zeroturnaround.com http://www.zeroturnaround.com/alderaan/rebel-2_0.xsd"&gt;
  
      &lt;classpath&gt;
          &lt;dir name="${project.dir}/src/main/resources"/&gt;
          &lt;!-- Useful for classes when IDE auto compile on save is enabled, classes will be redeployed --&gt;
          &lt;dir name="${project.dir}/target/classes"/&gt;
          &lt;dir name="${project.dir}/target/digital-entitlement/WEB-INF/classes"/&gt;
      &lt;/classpath&gt;
  
  &lt;!--     &lt;web&gt; --&gt;
  &lt;!--         &lt;link target="/"&gt; --&gt;
  &lt;!--             &lt;dir name="${project.dir}/src/main/webapp"/&gt; --&gt;
  &lt;!--         &lt;/link&gt; --&gt;
  &lt;!--     &lt;/web&gt; --&gt;
  
  &lt;/application&gt;
  </code></pre>
  
  <p>with it class reloading is working fine.
  But when I uncomment the <code>&lt;web&gt;</code> fragment above, to enable web assets reloading, then the web app hangs on a login form test case: </p>
  
  <ul>
  <li><p>w/o the <code>&lt;web&gt;</code> config the web page is loaded correctly and then submitting the un/pwd is ok triggering the reload of server side classes by jrebel when modified.</p></li>
  <li><p>Adding the <code>&lt;web&gt;</code> config hangs the browser and the initial login page is never loaded (selenium tests go in timeout after 30 secs).</p></li>
  </ul>
  
  <p><strong>NOTE</strong>: not all the web pages hang when the <code>&lt;web&gt;</code> config is enabled.</p>
  
  <p>Thanks</p>