> I do not think, that this is a good idea. It involves magic and leaves
> the microsling context in a way we cannot and most probably will not
> support in Sling and thus creates an incompatibility.
>
> Rather I would suggest to implement a SpoolServlet (extends
> SlingSafeMethodsServlet) which handles nt:file requests
> (MicroSlingServlet.addServlet("nt:file", new SpoolServlet()) and just
> pumps out the nt:file (or the Property value to which the
> Node.getPrimaryItem() trail leads).i agree with felix that having a spool servlet is a better option. nevertheless, i would provide a webdav servlet with the default setup. so that users can easily upload/manager their static content in the repository. -- -----------------------------------------< [EMAIL PROTECTED] >--- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 -----------------------------------------------< http://www.day.com >---
