felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r912415 - in /websites/staging/felix/trunk/content: ./ documentation/subprojects/apache-felix-http-service.html
Date Fri, 13 Jun 2014 09:15:29 GMT
Author: buildbot
Date: Fri Jun 13 09:15:28 2014
New Revision: 912415

Log:
Staging update by buildbot for felix

Modified:
    websites/staging/felix/trunk/content/   (props changed)
    websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-http-service.html

Propchange: websites/staging/felix/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Jun 13 09:15:28 2014
@@ -1 +1 @@
-1602348
+1602349

Modified: websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-http-service.html
==============================================================================
--- websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-http-service.html
(original)
+++ websites/staging/felix/trunk/content/documentation/subprojects/apache-felix-http-service.html
Fri Jun 13 09:15:28 2014
@@ -380,12 +380,14 @@ registration <em>must</em> provide sever
 <h2 id="using-the-servlet-bridge">Using the Servlet Bridge</h2>
 <p>The servlet bridge is used if you want to use the HTTP service inside a WAR deployed
on a 3rd part applicaiton server. A
 little setup is needed for this to work:</p>
-<p># deploy <code>org.apache.felix.http.proxy</code> jar file inside the
web application (<code>WEB-INF/lib</code>);
-  # in a startup listener (like <code>ServletContextListener</code>) set the
BundleContext as a servlet context attribute (see <a href="http://svn.apache.org/repos/asf/felix/trunk/http/samples/bridge/src/main/java/org/apache/felix/http/samples/bridge/StartupListener.java">example</a>);
-  # define <code>org.apache.felix.http.proxy.ProxyServlet</code> inside your
<code>web.xml</code> and register it to serve on all requests <code>/*</code>
(see <a href="http://svn.apache.org/repos/asf/felix/trunk/http/samples/bridge/src/main/webapp/WEB-INF/web.xml">example</a>);
-  # define <code>org.apache.felix.http.proxy.ProxyListener</code> as a <code>&lt;listener&gt;</code>
in your <code>web.xml</code> to allow HTTP session related events to be forwarded
(see the section of Servlet API Event forwarding below and <a href="http://svn.apache.org/repos/asf/felix/trunk/http/samples/bridge/src/main/webapp/WEB-INF/web.xml">example</a>);
-  # be sure to add <code>javax.servlet;javax.servlet.http;version=2.6</code>
to OSGi system packages (<code>org.osgi.framework.system.packages</code>);
-  # deploy <code>org.apache.felix.http.bridge</code> (or <code>org.apache.felix.http.bundle</code>)
inside the OSGi framework.</p>
+<ol>
+<li>deploy <code>org.apache.felix.http.proxy</code> jar file inside the
web application (<code>WEB-INF/lib</code>);</li>
+<li>in a startup listener (like <code>ServletContextListener</code>) set
the BundleContext as a servlet context attribute (see <a href="http://svn.apache.org/repos/asf/felix/trunk/http/samples/bridge/src/main/java/org/apache/felix/http/samples/bridge/StartupListener.java">example</a>);</li>
+<li>define <code>org.apache.felix.http.proxy.ProxyServlet</code> inside
your <code>web.xml</code> and register it to serve on all requests <code>/*</code>
(see <a href="http://svn.apache.org/repos/asf/felix/trunk/http/samples/bridge/src/main/webapp/WEB-INF/web.xml">example</a>);</li>
+<li>define <code>org.apache.felix.http.proxy.ProxyListener</code> as a
<code>&lt;listener&gt;</code> in your <code>web.xml</code>
to allow HTTP session related events to be forwarded (see the section of Servlet API Event
forwarding below and <a href="http://svn.apache.org/repos/asf/felix/trunk/http/samples/bridge/src/main/webapp/WEB-INF/web.xml">example</a>);</li>
+<li>be sure to add <code>javax.servlet;javax.servlet.http;version=2.6</code>
to OSGi system packages (<code>org.osgi.framework.system.packages</code>);</li>
+<li>deploy <code>org.apache.felix.http.bridge</code> (or <code>org.apache.felix.http.bundle</code>)
inside the OSGi framework.</li>
+</ol>
 <p>A detailed example can be found <a href="http://svn.apache.org/repos/asf/felix/trunk/http/samples/bridge">here</a>.</p>
 <h2 id="using-the-all-in-one-bundle">Using the all-in-one bundle</h2>
 <p>The all-in-one bundle combines the the Jetty server, the whiteboard implementation,
the servlet bridge and the CometD
@@ -813,7 +815,7 @@ the provided <code>HttpContext</code> in
 <span class="nt">&lt;/dependency&gt;</span>
 </pre></div>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1602348 by jawi on Fri, 13 Jun 2014 09:13:51 +0000
+        Rev. 1602349 by jawi on Fri, 13 Jun 2014 09:15:16 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Felix, Felix, Apache, the Apache feather logo, and the Apache Felix project



Mime
View raw message