2 Replies Latest reply on Jun 16, 2014 3:12 AM by wish79

    failed to load ecss file when access the server by IP address

    wish79

      Dear Professionals,

      I have an ecss file inside css library , it is load correctly and work fine when i access the server by the localhost , but if i access the server by IP address it is not work.

       

      in page :

      <h:outputStylesheet library="css" name="testEcss.ecss" />

       

      working url :

      http://localhost:8080/WebApp2/login.jsf

       

      not working URL:

      http://10.0.0.116:8080/WebApp2/login.jsf

       

      in both cases when i view the page source i see the same generated code

      <link type="text/css" rel="stylesheet" href="/WebApp2/rfRes/testEcss.ecss.jsf?db=eAEzKpeMAQACvwEf&amp;ln=css" />


      i test it on all browsers


      any help.


      Regards

      Wish79