title: Spring security : css is missing or not loaded in a web browser
body: <p>i am using spring security 3.0 . In spring-security.xml , i have a  1 problem when display login page. The login.jsp of CSS is not load or missing in the web browser. so please solve this problem.. Any help i appreciated u.</p>
  
  <p>my spring-security.xml code is given below..</p>
  
  <pre><code>     &lt;beans:beans xmlns="http://www.springframework.org/schema/security"
  xmlns:beans="http://www.springframework.org/schema/beans" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.springframework.org/schema/beans
  http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
  http://www.springframework.org/schema/security
  http://www.springframework.org/schema/security/spring-security-3.0.3.xsd"&gt;
  
    &lt;http auto-config="true"  use-expressions="true"&gt;
      &lt;intercept-url pattern="/login.html" access="permitAll" /&gt;
       &lt;intercept-url pattern="/logout" access="permitAll" /&gt;
  
     &lt;intercept-url pattern="/accessdenied" access="permitAll"  /&gt;
      &lt;intercept-url pattern="/**" access="hasRole('ROLE_USER')" /&gt;
     &lt;form-login login-page="/login.html" default-target-url="/firstwelcome.html"  /&gt;
      &lt;logout logout-success-url="/logout" /&gt; 
    &lt;/http&gt;
  
  
    &lt;authentication-manager  alias="authenticationManager"&gt;  
        &lt;authentication-provider&gt;  
          &lt;password-encoder hash="md5"/&gt;
          &lt;jdbc-user-service data-source-ref="dataSource"
                users-by-username-query="
                SELECT strUSERNAME, strPASSWORD, CASE blENABLED WHEN 1 THEN 'true' ELSE             'false' END 'ENABLED' 
        FROM TBLUSERS 
        WHERE strUSERNAME=?;"
  
      authorities-by-username-query="
       SELECT strUSERNAME, strROLENAME 
       FROM TBLUSERS
       WHERE strUSERNAME=?;"
  
       /&gt;
    &lt;/authentication-provider&gt;  
    &lt;/authentication-manager&gt;  
  
  
  
   &lt;/beans:beans&gt;
  </code></pre>
  
  <p>and Header of the my login.jsp is given below</p>
  
  <pre><code>           &lt;link rel="stylesheet" type="text/css" href="css/login.css"&gt;
  </code></pre>
  
  <p>in above login.jsp  use link tag to call the css..
  but unfortunately is not call ..``.plz... help me for calling the login.css file .
  Any help i appreciated u.</p>
  
  <p>Thanks</p>