This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/master by this push:
new 236e801 fix typos
236e801 is described below
commit 236e801d3f4eb9eaab6e16c9a865b4c217248729
Author: Konrad Windszus <[email protected]>
AuthorDate: Mon Nov 22 14:56:54 2021 +0100
fix typos
---
src/main/jbake/content/documentation/the-sling-engine/servlets.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/jbake/content/documentation/the-sling-engine/servlets.md
b/src/main/jbake/content/documentation/the-sling-engine/servlets.md
index 760806f..b852f03 100644
--- a/src/main/jbake/content/documentation/the-sling-engine/servlets.md
+++ b/src/main/jbake/content/documentation/the-sling-engine/servlets.md
@@ -37,7 +37,7 @@ Servlets can be registered as OSGi services. The following
service reference pro
For a Servlet registered as an OSGi service to be used by the Sling Servlet
Resolver, either one or both of the `sling.servlet.paths` or the
`sling.servlet.resourceTypes` service reference properties must be set. If
neither is set, the Servlet service is ignored.
-Each path to be used for registration - either from the `sling.servlet.paths`
property or constructed from the other `sling.servlet.\*` properties - must be
absolute. Any relative path is made absolute by prefixing it with a root path.
This prefix may be set with the `sling.servlet.prefix` service registration
property. If this property is not set, the first entry in the
`ResourceResolver` search path for the `ResourceResolver.getResource(String)`
method is used as the prefix. If this en [...]
+Each path to be used for registration - either from the `sling.servlet.paths`
property or constructed from the other `sling.servlet.*` properties - must be
absolute. Any relative path is made absolute by prefixing it with a root path.
This prefix may be set with the `sling.servlet.prefix` service registration
property. If this property is not set, the first entry in the
`ResourceResolver` search path for the `ResourceResolver.getResource(String)`
method is used as the prefix. If this ent [...]
If `sling.servlet.methods` is not specified, the servlet is only registered
for handling GET and HEAD requests. Make sure to list all methods you want to
be handled by this servlet.
@@ -308,7 +308,7 @@ In case of an `OptingServlet` not matching the next
candidate is being used.
Resource type inheritance as implemented for
[SLING-278](https://issues.apache.org/jira/browse/SLING-278) plays a vital role
in servlet resolution.
-Each resource type may have a resource super type, which may be defined in
various ways. One example is having a `sling:resourceSuperType` property in the
node addressed by the resource type. See
[http://www.mail-archive.com/[email protected]/msg02365.html](http://www.mail-archive.com/[email protected]/msg02365.html)
and [SLING-278](http://issues.apache.org/jira/browse/SLING-278) for more
details. Also the servlet (or script) itself may define a resource super t [...]
+Each resource type may have a resource super type, which may be defined in
various ways. One example is having a `sling:resourceSuperType` property in the
resource addressed by the resource type. See
[http://www.mail-archive.com/[email protected]/msg02365.html](http://www.mail-archive.com/[email protected]/msg02365.html)
and [SLING-278](http://issues.apache.org/jira/browse/SLING-278) for more
details. Also the servlet (or script) itself may define a resource sup [...]
If a resource type has no explicit resource super type, the resource super
type is assumed to be `sling/servlet/default`. That is the resource type used
for default script selection is also acting as a basic resource type much like
`java.lang.Object` does for other types in the Java language.