You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bu...@apache.org on 2016/11/27 11:50:28 UTC
svn commit: r1001702 - in /websites/staging/sling/trunk/content: ./
documentation/the-sling-engine/servlets.html
Author: buildbot
Date: Sun Nov 27 11:50:27 2016
New Revision: 1001702
Log:
Staging update by buildbot for sling
Modified:
websites/staging/sling/trunk/content/ (props changed)
websites/staging/sling/trunk/content/documentation/the-sling-engine/servlets.html
Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun Nov 27 11:50:27 2016
@@ -1 +1 @@
-1771567
+1771568
Modified: websites/staging/sling/trunk/content/documentation/the-sling-engine/servlets.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/the-sling-engine/servlets.html (original)
+++ websites/staging/sling/trunk/content/documentation/the-sling-engine/servlets.html Sun Nov 27 11:50:27 2016
@@ -236,7 +236,7 @@ to a script or and servlet.</p>
<p>The registration properties <code>sling.servlet.selectors</code> and <code>sling.servlet.extensions</code> <em>are ignored</em> because the servlet is registered only by path (only <code>sling.servlet.paths</code> property is set).</p>
<h3 id="example-registration-by-resource-type-etc">Example: Registration by Resource Type etc.<a class="headerlink" href="#example-registration-by-resource-type-etc" title="Permanent link">¶</a></h3>
<div class="codehilite"><pre><span class="n">sling</span><span class="p">.</span><span class="n">servlet</span><span class="p">.</span><span class="n">resourceTypes</span> <span class="p">=</span> <span class="p">[</span> "<span class="n">sling</span><span class="o">/</span><span class="n">unused</span>" <span class="p">]</span>
-<span class="n">sling</span><span class="p">.</span><span class="n">servlet</span><span class="p">.</span><span class="n">selectors</span> <span class="p">=</span> <span class="p">[</span> "<span class="n">img</span>"<span class="p">,</span> "<span class="n">tab</span>" <span class="o">\</span><span class="p">]</span>
+<span class="n">sling</span><span class="p">.</span><span class="n">servlet</span><span class="p">.</span><span class="n">selectors</span> <span class="p">=</span> <span class="p">[</span> "<span class="n">img</span>"<span class="p">,</span> "<span class="n">tab</span>" <span class="p">]</span>
<span class="n">sling</span><span class="p">.</span><span class="n">servlet</span><span class="p">.</span><span class="n">extensions</span> <span class="p">=</span> <span class="p">[</span> "<span class="n">html</span>"<span class="p">,</span> "<span class="n">txt</span>"<span class="p">,</span> "<span class="n">json</span>" <span class="p">]</span>
</pre></div>
@@ -291,7 +291,7 @@ The mechanism helping the provider here
<h2 id="error-handler-servlets-or-scripts">Error Handler Servlet(s) or Scripts<a class="headerlink" href="#error-handler-servlets-or-scripts" title="Permanent link">¶</a></h2>
<p>Error handling support is described on the <a href="/documentation/the-sling-engine/errorhandling.html">Errorhandling</a> page.</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
- Rev. 1771567 by kwin on Sun, 27 Nov 2016 11:47:16 +0000
+ Rev. 1771568 by kwin on Sun, 27 Nov 2016 11:50:18 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project