title: GWT and SpringSecurity
body: <p>I've created two modules</p>
  
  <ol>
  <li>GWTAppAuth</li>
  <li>GWTApp</li>
  </ol>
  
  <p>when I try posting form from <code>GWTAppAuth</code> to <code>j_spring_security_check</code> nothing happened.</p>
  
  <p>Firebug shows in console </p>
  
  <pre><code>"Failed to load source for:http://127.0.0.1:8888/j_spring_security_check"
  </code></pre>
  
  <p>But if I try after that manually access to GWTApp it works. Anybody knows what a matter?  </p>
  
  <p>Looks like Spring Security just doesn't redirect to second (GWTApp).<br>
  How do I check it?  </p>
  
  <ol>
  <li>Run application in hosted mode</li>
  <li>Try to access to GWTApp.html</li>
  <li>Spring security redirects me to GWTAppAuth.html</li>
  <li>Press login button  </li>
  </ol>
  
  <p>In this place if we check firebug log we can see</p>
  
  <pre><code>"POST //127.0.0.1:8888/j_spring_security_check"
  </code></pre>
  
  <p>and response - </p>
  
  <pre><code>"Failed to load source for: http://127.0.0.1:8888/j_spring_security_check"
  </code></pre>
  
  <p>then next record - </p>
  
  <pre><code>"GET //127.0.0.1:8888/GWT/GWTApp.html?gwt.codesvr=127.0.0.1:9997"
  </code></pre>
  
  <p>and fetching all needed resources<br>
  Now I can manually input </p>
  
  <pre><code>"//127.0.0.1:8888/GWT/GWTApp.html" 
  </code></pre>
  
  <p>and now I have access to GWTApp.html</p>