title: unable to render .html via spring security while .jsp works fine
body: <p>Issue:</p>
  
  <p>I have a simple HTML login page that a <code>userID</code>, <code>Password</code> fields and that is written in html
  the code is shown below:</p>
  
  <pre><code>&lt;form class="login-box" name="loginForm" action="j_spring_security_check"&gt;
      &lt;div class="login-wrapper"&gt;
          &lt;div class="box"&gt;
              &lt;div class="content-wrap"&gt;
                  &lt;div style="text-align:center"&gt;&lt;img height="" width=""src="resources/images/demo.logo.000.jpg"&gt;&lt;/div&gt;
                  &lt;h1&gt;Login to &lt;span&gt;&lt;img height="" width=""src="resources/images/demo.logo.jpg"&gt; &lt;sup&gt;TM&lt;/sup&gt;&lt;/span&gt;&lt;/h1&gt;
                  &lt;input class="form-control" type="text" name="j_username" placeholder="User ID"&gt;
                  &lt;input class="form-control" type="password" name='j_password' placeholder="Password"&gt;
                  &lt;input class="login" type="submit" value="Sign in"  formmethod="post"/&gt;
  
                  &lt;div class="alert alert-error"&gt;  
                      &lt;!-- Error Messages here --&gt;     
                  &lt;/div&gt; 
  
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/form&gt; 
  </code></pre>
  
  <p>now i am calling this page by interceptor but it gives the Warning as:</p>
  
  <pre><code>WARNING: No matching handler method found for servlet request: path '/WEB-INF/pages/home.html', method 'GET', parameters map[[empty]]
  </code></pre>
  
  <p>and finnalyy failed to render giving server error as</p>
  
  <pre><code>**HTTP Status 404 -
  
  type Status report
  
  message
  
  description The requested resource is not available.
  VMware vFabric tc Runtime 2.9.2.RELEASE/7.0.39.B.RELEASE**
  </code></pre>
  
  <p>but when i change my Login.html to login.jsp it works fine. 
  following are my xml configurations</p>
  
  <pre><code>&lt;bean id="viewResolver"
      class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;
      &lt;property name="prefix" value="/WEB-INF/pages/" /&gt;
      &lt;property name="suffix" value=".html" /&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>this is my web.xml:</p>
  
  <pre><code>&lt;servlet&gt;
      &lt;servlet-name&gt;mvc-dispatcher&lt;/servlet-name&gt;
      &lt;servlet-class&gt;org.springframework.web.servlet.DispatcherServlet&lt;/servlet-class&gt;
      &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
  &lt;/servlet&gt;
  
  &lt;servlet-mapping&gt;
      &lt;servlet-name&gt;mvc-dispatcher&lt;/servlet-name&gt;
      &lt;url-pattern&gt;/&lt;/url-pattern&gt;
      &lt;/servlet-mapping&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.web.context.ContextLoaderListener&lt;/listener-class&gt;
    &lt;/listener&gt;
       &lt;context-param&gt;
              &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
              &lt;param-value&gt;
                       /WEB-INF/mvc-dispatcher-servlet.xml
                       /WEB-INF/spring-security.xml
              &lt;/param-value&gt;
              &lt;/context-param&gt;
    &lt;/web-app&gt;
  </code></pre>
  
  <p>spring-security.xml:</p>
  
  <pre><code>&lt;security:http&gt;
      &lt;security:intercept-url pattern="/welcome" access="ROLE_USER"/&gt;
      &lt;security:form-login login-page='/Login' default-target-url="/success" 
      login-processing-url="/j_spring_security_check"
      authentication-failure-url="/WEB-INF/pages/Login.jsp?error=true"/&gt;
  &lt;/security:http&gt;
  </code></pre>
  
  <p>am i missing something ....??</p>