0 Replies Latest reply on Aug 30, 2011 4:42 PM by Douglas Souza

    How can I set static files as server.xml had done ?

    Douglas Souza Newbie

         How can I do a similar configuration to release a web static content files such as img, css, js for a webapp on JBoss AS 7 ?

       

      vim /opt/jboss/server/default/deploy/jboss-web.deployer/server.xml

       

       

          <Context path="/adsapp/img" appBase=""
                  docBase="${jboss.server.home.dir}/static/AdsWeb/img"
                  debug="99" reloadable="true">
          </Context>
          <Context path="/adsapp/js" appBase=""
                  docBase="${jboss.server.home.dir}/static/AdsWeb/js"
                  debug="99" reloadable="true">
          </Context>
          <Context path="/adsapp/css" appBase=""
                  docBase="${jboss.server.home.dir}/static/AdsWeb/css"
                  debug="99" reloadable="true">
          </Context>

       

       

        Thank you in advance

       

        Douglas Matheus