[jboss-as7-dev] Deployment descriptors?

Carlo de Wolf cdewolf at redhat.com
Thu Apr 28 16:29:19 EDT 2011


See this branch: https://github.com/wolfc/jboss-as/tree/JBAS-9020

On 04/28/2011 10:19 PM, denstar wrote:
> Hi!
>
> I'm wondering a couple things here:
>
> 1) Is there something like jboss-web.xml as far as configuring context
> paths and whatnot?  I don't recall seeing anything like that when I
> was looking at the DTD for jboss-deployment-structure.xml, though it
> seems a logical place, so I wouldn't be surprised if I missed it.

https://github.com/wolfc/jboss-as/blob/JBAS-9020/welcome/src/main/webapp/WEB-INF/jboss-web.xml#L27

> 2) Are we at a point where I can add a context for serving static
> content from some arbitrary location on disk?  If so, I'm thinking it
> ties in with #1, so maybe this is more like one and a half questions.

https://github.com/wolfc/jboss-as/blob/JBAS-9020/build/src/main/resources/standalone/configuration/standalone.xml#L394

> :Den
>

You can either use relative-to or path will be interpreted as an 
absolute path.

Carlo


More information about the jboss-as7-dev mailing list