|
Jetty example source code file (annotations-context.xml)
The Jetty annotations-context.xml source code
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
<!-- =============================================================== -->
<!-- Configure the test-annotations webapp -->
<!-- =============================================================== -->
<Configure class="org.mortbay.jetty.webapp.WebAppContext">
<!-- =========================================================== -->
<!-- Configurations for WebAppContexts -->
<!-- Sequence of configurations to be applied to a webapp that -->
<!-- wants to use Annotations -->
<!-- ========================================================== -->
<Array id="annotationConfig" type="java.lang.String">
<Item>org.mortbay.jetty.webapp.WebInfConfiguration
<Item>org.mortbay.jetty.plus.webapp.EnvConfiguration
<Item>org.mortbay.jetty.annotations.Configuration
<Item>org.mortbay.jetty.webapp.JettyWebXmlConfiguration
<Item>org.mortbay.jetty.webapp.TagLibConfiguration
</Array>
<!-- =============================================================== -->
<!-- Configure the webapp -->
<!-- =============================================================== -->
<Set name="contextPath">/test-annotations
<Set name="war">
Other Jetty examples (source code examples)Here is a short list of links related to this Jetty annotations-context.xml source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.