...
| Code Block | ||
|---|---|---|
| ||
<Array id="plusConfig" type="java.lang.String">
<Item>org.mortbay.jetty.webapp.WebInfConfiguration</Item>
<Item>org.mortbay.jetty.plus.webapp.EnvConfiguration</Item>
<Item>org.mortbay.jetty.plus.webapp.Configuration</Item>
<Item>org.mortbay.jetty.webapp.JettyWebXmlConfiguration</Item>
<Item>org.mortbay.jetty.webapp.TagLibConfiguration</Item>
</Array>
...
<New id="xyzWebAppContext" class="org.mortbay.jetty.webapp.WebAppContext">
...
<Set name="ConfigurationClasses"><Ref id="plusConfig"/></Set>
...
</New>
|
Or, more conveniently, you can specify that these configurations are applied to all webapps deployed by the WebAppDeployer :
...