5 Replies Latest reply on Sep 3, 2013 4:07 AM by strannik

    Invalid resource loading

    strannik

      Hi

       

      If I use the following Spring servlet-mapping RichFaces works correctly and fetches the valid url.

      /sampleapp/site/javax.faces.resource/jquery.js

       

      <servlet-mapping>
         <servlet-name>Spring Dispatcher Servlet</servlet-name>
         <url-pattern>/site/*</url-pattern>

          </servlet-mapping>

       

       

      However If I change url-pattern to /* then RichFaces tries to load the url below and fails with 404 result.

      /sampleapp/*/javax.faces.resource/jquery.js

       

      The correct url is

      /sampleapp/javax.faces.resource/jquery.js

       

      Is it possible to configure that somehow ?