Author: buildbot
Date: Thu Oct 25 15:47:39 2012
New Revision: 836148
Log:
Production update by buildbot for cxf
Modified:
websites/production/cxf/content/cache/docs.pageCache
websites/production/cxf/content/docs/jax-rs-redirection.html
websites/production/cxf/content/docs/jax-rs.html
Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/cxf/content/docs/jax-rs-redirection.html
==============================================================================
--- websites/production/cxf/content/docs/jax-rs-redirection.html (original)
+++ websites/production/cxf/content/docs/jax-rs-redirection.html Thu Oct 25
15:47:39 2012
@@ -134,6 +134,14 @@ Apache CXF -- JAX-RS Redirection
<p>At the moment, this provider is statically configured to support text/html
content types, but it can be easily configured to support other content types
if needed. </p>
+<p>In addition to 'resourcePath' and 'dispatcherName' properties, one can set
a 'scope' property which has two possible values, 'request' and 'session' with
'request' being the default value. It affects the way the JSP code can retrieve
parameters passed to it by the RequestDispatcherProvider. If it is a 'request'
scope then all the parameters are set as the attributes on the current HTTP
request. If session scope then they're set as the attributes on the current
HTTP session.</p>
+
+<p><tt>RequestDispatcherProvider</tt> sets the following parameters :</p>
+
+<ul class="alternate" type="square"><li>JAXRS method response object. The
name of this parameter is either a simple class name of this object (lower
case) or a value retrieved from a beanNames map property using the fully
qualified class name of this object.</li><li>All the path, query and matrix
parameters which have been initialized during the method
execution</li><li>"absolute.path", "base.path" and "relative.path" obtained
from the current UriInfo</li></ul>
+
+
+
<p>Here are some examples. Lets assume we have a book.war web application
deployed.</p>
<div class="code panel" style="border-width: 1px;"><div class="codeContent
panelContent">
Modified: websites/production/cxf/content/docs/jax-rs.html
==============================================================================
--- websites/production/cxf/content/docs/jax-rs.html (original)
+++ websites/production/cxf/content/docs/jax-rs.html Thu Oct 25 15:47:39 2012
@@ -487,18 +487,11 @@ Please see the <a shape="rect" href="jax
<h2><a shape="rect"
name="JAX-RS-ModelViewControllersupport"></a>Model-View-Controller support</h2>
<p><b>XSLT</b><br clear="none">
-Please see <a shape="rect" class="external-link"
href="http://sberyozkin.blogspot.com/2009/05/mvc-xml-way-with-cxf-jax-rs.html"
rel="nofollow">this blog entry</a> on how <tt>XSLTJaxbProvider</tt> can be used
to generate complex (X)HTML views.</p>
+Please see the <a shape="rect" href="jax-rs-advanced-xml.html" title="JAX-RS
Advanced XML">JAX-RS Advanced XML</a> page for more information. on how
<tt>XSLTJaxbProvider</tt> can be used to generate complex (X)HTML views.</p>
<p><b>JSP</b></p>
-<p>With the introduction of the <tt>RequestDispatcherProvider</tt> (see above)
it is now possible for JAXRS service responses be redirected to JSP pages for
further processing. Please see this <a shape="rect" class="external-link"
href="http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/resources/jaxrs_dispatch/WEB-INF/beans.xml">beans.xml</a>
for an example.</p>
-
-<p>In addition to 'resourcePath' and 'dispatcherName' properties, one can set
a 'scope' property which has two possible values, 'request' and 'session' with
'request' being the default value. It affects the way the JSP code can retrieve
parameters passed to it by the RequestDispatcherProvider. If it is a 'request'
scope then all the parameters are set as the attributes on the current HTTP
request. If session scope then they're set as the attributes on the current
HTTP session.</p>
-
-<p><tt>RequestDispatcherProvider</tt> sets the following parameters :</p>
-
-<ul class="alternate" type="square"><li>JAXRS method response object. The
name of this parameter is either a simple class name of this object (lower
case) or a value retrieved from a beanNames map property using the fully
qualified class name of this object.</li><li>All the path, query and matrix
parameters which have been initialized during the method
execution</li><li>"absolute.path", "base.path" and "relative.path" obtained
from the current UriInfo</li></ul>
-
+<p>With the introduction of <tt>RequestDispatcherProvider</tt> it is now
possible for JAXRS service responses be redirected to JSP pages for further
processing. Please see the <a shape="rect" href="jax-rs-redirection.html"
title="JAX-RS Redirection">JAX-RS Redirection</a> page for more information.</p>
<h2><a shape="rect" name="JAX-RS-CombiningJAXWSandJAXRS"></a>Combining JAX-WS
and JAX-RS</h2>