You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Bertrand Delacretaz <bd...@apache.org> on 2011/06/21 11:57:12 UTC

Path-mapped servlet only works under /libs or /apps (was: SlingServlets - Query Params making listener break)

Hi,

On Fri, Jun 10, 2011 at 5:18 AM, David Gonzalez
<da...@gmail.com> wrote:
> ...I am running into a strange issue now that my Servlet will only be executed if the
> * @scr.property name="sling.servlet.paths" has a value that being with "/libs" or "/apps" ...

The SlingServletResolver can restrict such paths, I guess in your case
the org.apache.sling.servlets.resolver.SlingServletResolver
configuration contains a servletresolver.paths value that activates
this restriction.

-Bertrand