Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-20381

[7.4.0.Beta] Document jboss-web.xml overlay option

XMLWordPrintable

      A web application (war) can specify the <overlay> configuration to link in an external directory containing static content such as html, images, videos that will be served via the war without having to package the content in the war.

      <jboss-web xmlns="http://www.jboss.com/xml/ns/javaee"
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                 xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee http://www.jboss.org/j2ee/schema/jboss-web_10_0.xsd"
                 version="10.0">
        <context-root>/</context-root>
        <overlay>/home/web/content</overlay>
      </jboss-web>
      

              dfitzmau@redhat.com Darragh Fitzmaurice
              dfitzmau@redhat.com Darragh Fitzmaurice
              Jan Blizňák Jan Blizňák
              Jan Blizňák Jan Blizňák
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: