Hi;

I want to register a servlet that should only be invoked on a given
resourceType, and when the request has no extension.

Given a JCR node /content, with sling:resourceType=ourResourceType

The servlet should handle this request: GET /content
... but not this: GET /content.html

>From http://incubator.apache.org/sling/site/servlet-resolution.html
(albeit outdated) I read that "[...] a Resource provider is registered
for the Servlet for each permutation resource types, selectors,
extensions and methods".
What I want, is not all possible permutations, but rather the
intersection of extension and resourceType.
Is this possible?

-- 
Vidar S. Ramdal <[EMAIL PROTECTED]> - http://www.idium.no
Akersgata 16, N-0158 Oslo, Norway

Reply via email to