They are both "Jetty XML" configuration files.
Following the "Jetty XML Syntax".
http://www.eclipse.org/jetty/documentation/current/reference-section.html#jetty-xml-syntax

One is configuring a WebAppContext (usually defined as "Jetty Deployable
Descriptor XML File")
http://www.eclipse.org/jetty/documentation/current/configuring-specific-webapp-deployment.html#deployable-descriptor-file
When you see this, its usually for configuring a specific Web App that is
being deployed.  This is an optional / advanced web app deployment scenario.

The other is configuring the Server.

--
Joakim Erdfelt <[email protected]>
webtide.com <http://www.webtide.com/>
Developer advice, services and support
from the Jetty & CometD experts
eclipse.org/jetty - cometd.org


On Mon, Apr 8, 2013 at 12:59 PM, Marty Stich <[email protected]> wrote:

> Ok, at the risk of asking a really dumb question, I'm trying to understand
> relationship between a WebAppContext xml block like:
>
> <Configure class="org.eclipse.jetty.webapp.WebAppContext">
>   <Set name="contextPath">/wiki</Set>
>   <Set name="war">/opt/myapp/myapp.war</Set>
> </Configure>
>
> and a server configure xml like:
>
> <Configure class="org.eclipse.jetty.server.Server">
> ...
> </Configure>
>
> Regards,
>
> ____________________________
> Marty Stich
>
> RF Code, Inc
> 9229 Waterford Centre Blvd.
> Suite 500
> Austin, TX 78758
>
_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to