Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Migrating to Jetty 9

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 <joakim@xxxxxxxxxxx>
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 <mstich@xxxxxxxxxx> 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

Back to the top