cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r819005 - in /websites/production/cxf/content: cache/docs.pageCache docs/jaxrs-services-configuration.html
Date Thu, 24 May 2012 21:47:51 GMT
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">&lt;init-param&gt;</span>
+  <span class="code-tag">&lt;param-name&gt;</span>jaxrs.providers<span
class="code-tag">&lt;/param-name&gt;</span>
+  <span class="code-tag">&lt;param-value&gt;</span>
+    mypackage.Provider1 
+    mypackage.Provider2	      
+  <span class="code-tag">&lt;/param-value&gt;</span>
+ <span class="code-tag">&lt;/init-param&gt;</span>
+ <span class="code-tag">&lt;load-on-startup&gt;</span>1<span class="code-tag">&lt;/load-on-startup&gt;</span>
+<span class="code-tag">&lt;/servlet&gt;</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>



Mime
View raw message