On Mon, Aug 22, 2011 at 3:45 PM, Vidar Ramdal <[email protected]> wrote: > 2011/8/22 Bertrand Delacretaz <[email protected]>:
>> >> This causes their ServletResourceProviders to have the same provider >> roots, am I correct to assume that this is what causes one of the >> servlets to mask the other? > > Probably. But isn't this how other Sling servlets work - that if more > than one servlet is registered on the same path (/apps/...) only one > is invoked? OptingServelts have been suggest to people asking for regex in the matching path, but for this use case they aren't suitable with the current limitation. > > One workaround is to register a delegating OptingServlet, which holds > references to a set of other servlets, and invokes them in turn. Do you suggest an OptingServlet with a higher service priority delegating to the ones with lower priority. Reto
