0 Replies Latest reply on Sep 2, 2011 2:32 PM by Douglas Souza

    How can I get static content from external files, such as: img, css, js, html to my Web application on JBoss 7 (standalone.xml), as has been done on server.xml of older versions?

    Douglas Souza Newbie

         Hello friends, I need your help.

       

      Compare

       

              <!-- myweb -->

              <Context path="/myweb/html" appBase=""

      docBase="${jboss.server.home.dir}/static/myweb/html"

      debug="99" reloadable="true">

      </Context>

              <Context path="/myweb/ajuda" appBase=""

      docBase="${jboss.server.home.dir}/static/myweb/help"

      debug="99" reloadable="true">

      </Context>

              <Context path="/myweb/css" appBase=""

      docBase="${jboss.server.home.dir}/static/myweb/css"

      debug="99" reloadable="true">

      </Context>

              <Context path="/myweb/img" appBase=""

      docBase="${jboss.server.home.dir}/static/myweb/img"

      debug="99" reloadable="true">

      </Context>

              <Context path="/myweb/js" appBase=""

      docBase="${jboss.server.home.dir}/static/myweb/js"

      debug="99" reloadable="true">

      </Context>

       

      But, how should be done in standalone.xml ?

       

      <

        ???

      />

       

      Thank you in advance

       

      Douglas Matheus