On 20.02.11 18:38, "Unmesh Joshi" <[email protected]> wrote:

>> If you mean "sling.servlet.paths" that just models the same behavior as
>>if
>> you would place a jsp under that path, e.g.
>> /apps/myapp/components/foo/foo.servlet (servlet being used as extension
>> for java servlets). Under the hood, the sling servlet resolution
>>mechanism
>> always works based on paths, AFAIK, so this is simply an alternate way
>>for
>> servlets than using "sling.servlet.methods",
>>"sling.servlet.resourceType"
>> etc.
>But when we use sling.servlet.paths, even if resource is not
>available, the servlet gets invoked for the path. How is that? Am I
>missing anything?
>

Ah, yes, that is one special case, for java servlets. Not sure how if it
depends on the sling.servlet.paths ending with .servlet...

Regards,
Alex

-- 
Alexander Klimetschek
Developer // Adobe (Day) // Berlin - Basel




Reply via email to