title: j_spring_security_check 404 issue
body: <p>I am trying to get my spring + hibernate + spring-security and tiles2 - "HelloWorld" application to work, following <a href="http://www.yves-hoppe.de/java/82-spring-3-mvc-advanced-example?showall=1" rel="noreferrer">this guide</a> (its in german unfortunately).</p>
  
  <p>My problem is that I get a "404" error message when logging into my application. Redirection to the login page works as intended, but I can't reach "<a href="http://localhost:8080/App/j_spring_security_check" rel="noreferrer">http://localhost:8080/App/j_spring_security_check</a>" when I hit the login button.</p>
  
  <p>My web.xml looks this way:</p>
  
  <pre><code>&lt;context-param&gt;
      &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
      &lt;param-value&gt;
          /WEB-INF/defs/applicationContext.xml
          /WEB-INF/defs/applicationContext-security.xml
      &lt;/param-value&gt;
  &lt;/context-param&gt;
  
  &lt;filter&gt;
      &lt;filter-name&gt;springSecurityFilterChain&lt;/filter-name&gt;
      &lt;filter-class&gt;org.springframework.web.filter.DelegatingFilterProxy&lt;/filter-class&gt;
  &lt;/filter&gt;
  
  &lt;filter-mapping&gt;
    &lt;filter-name&gt;springSecurityFilterChain&lt;/filter-name&gt; 
    &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
  &lt;/filter-mapping&gt;
  
  &lt;listener&gt;
      &lt;listener-class&gt;org.springframework.security.web.session.HttpSessionEventPublisher&lt;/listener-class&gt;
  &lt;/listener&gt;
  </code></pre>
  
  <p>and applicationContext-security.xml file looks this way ...</p>
  
  <pre><code>&lt;http use-expressions="true"&gt;
      &lt;intercept-url pattern="/index.html" access="permitAll" /&gt;
      &lt;intercept-url pattern="/timeout.html" access="permitAll" /&gt;
      &lt;intercept-url pattern="/redirect.html" access="permitAll" /&gt;
      &lt;intercept-url pattern="/media/**" access="permitAll" /&gt;
      &lt;intercept-url pattern="/includes/**" access="permitAll" /&gt;
      &lt;intercept-url pattern="/office/**" access="hasRole('ROLE_USER')" /&gt;
      &lt;intercept-url pattern="/office/admin/**" access="hasRole('ROLE_ADMIN')" /&gt;
  
      &lt;form-login login-page="/index.html" 
              authentication-failure-url="/index.html?login_error=1"
              default-target-url='/office/kunden.html'
              always-use-default-target='true'
              /&gt;
      &lt;logout logout-success-url="/index.html" /&gt;
      &lt;remember-me /&gt;
      &lt;session-management invalid-session-url="/index.html"&gt;
          &lt;concurrency-control max-sessions="2" error-if-maximum-exceeded="true" /&gt;
      &lt;/session-management&gt;
  &lt;/http&gt;
  
  &lt;authentication-manager&gt;
      &lt;authentication-provider&gt;
          &lt;jdbc-user-service data-source-ref="mysqldataSource" 
                      authorities-by-username-query="select username, authority from benutzer where username = ?"
                      users-by-username-query="select username, password, enabled from benutzer where username = ?"/&gt;
      &lt;/authentication-provider&gt;
  &lt;/authentication-manager&gt;
  </code></pre>
  
  <p>The database connection seems to be O.K.</p>
  
  <p>I would be very glad if someone could give me a hint on that, because I already did a lot of googling, but didn't find a solution yet.</p>
  
  <p>I use spring 3.1 and tomcat 7.0.23</p>