Author: buildbot
Date: Thu May 24 21:47:50 2012
New Revision: 819005
Log:
Production update by buildbot for cxf
Modified:
websites/production/cxf/content/cache/docs.pageCache
websites/production/cxf/content/docs/jaxrs-services-configuration.html
Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/cxf/content/docs/jaxrs-services-configuration.html
==============================================================================
--- websites/production/cxf/content/docs/jaxrs-services-configuration.html
(original)
+++ websites/production/cxf/content/docs/jaxrs-services-configuration.html Thu
May 24 21:47:50 2012
@@ -637,6 +637,23 @@ By default, the endpoint address is "/".
<p>In the above example, org.apache.cxf.systest.jaxrs.BookApplication is
expected to have setName and setId setters, with a single primitive or List
parameter type. </p>
+<p><b>Note</b> that having the web-app_2_3.dtd DTD referenced from web.xml
will likely prevent 'param-value' containing spaces and make it difficult to
specify multiple providers like this:</p>
+<div class="code panel" style="border-width: 1px;"><div class="codeContent
panelContent">
+<pre class="code-xml">
+ <span class="code-tag"><init-param></span>
+ <span class="code-tag"><param-name></span>jaxrs.providers<span
class="code-tag"></param-name></span>
+ <span class="code-tag"><param-value></span>
+ mypackage.Provider1
+ mypackage.Provider2
+ <span class="code-tag"></param-value></span>
+ <span class="code-tag"></init-param></span>
+ <span class="code-tag"><load-on-startup></span>1<span
class="code-tag"></load-on-startup></span>
+<span class="code-tag"></servlet></span>
+</pre>
+</div></div>
+
+<p>In such cases consider moving to the web-app 2.5 schema or extending
CXFNonSpringJaxrsProviders or introducing an Application. </p>
+
<h2><a shape="rect"
name="JAXRSServicesConfiguration-AttachingJAXRSendpointstoanexistingJettyserver"></a>Attaching
JAXRS endpoints to an existing Jetty server</h2>
<p>Here is a code fragment showing how it can be done with the help of
CxfNonSpringJaxrsServlet :</p>