On 2/15/08, Felix Meschberger <[EMAIL PROTECTED]> wrote: > Hi Vidal, > > The sling.servlet.resourceTypes annotation is required, otherwise the > servlet is just ignored. That is, in your first example, where you just > define the sling.servlet.extensions, Sling does not know to which > resource type the servlet applies and cannot handle it. > > @scr.property name="sling.servlet.extensions" value="menu" > @scr.property name="sling.servlet.resourceTypes" value="foo/bar" > > > This defines the servlet to handle requests for foo/bar resources where > the reqest extension is menu.
Ah, I see. I wanted to make a servlet that would respond to the .menu extension regardless of resourceType, but if that's not possible, I'll work around it. Thanks for your help! -- Vidar S. Ramdal <[EMAIL PROTECTED]> - http://www.idium.no Akersgata 16, N-0158 Oslo, Norway
