Re: looking for feedback

2014-11-25 Thread Julian Sedding
Hi Jason You should be able to create a txt.jsp file and call your resource with the txt extension. I.e. /content/foo.txt. This is assuming that your resource is /content/foo and not /content/foo.html. Implementing a servlet is (largely) equivalent to implementing a JSP. So choose whichever is

Re: looking for feedback

2014-11-25 Thread Bertrand Delacretaz
On Tue, Nov 25, 2014 at 9:51 AM, Julian Sedding jsedd...@gmail.com wrote: ...Implementing a servlet is (largely) equivalent to implementing a JSP... Or any other script for that matter, language doesn't have to be JSP. -Bertrand

Make a JcrUtils created node writable from WebDAV?

2014-11-25 Thread Bruce Edge
Apologies for asking something that seems like it should be so simple. What else do I need to make a node that I create using JcrUtils.getOrCreateByPath(..) be writable from WebDAV? adminResolver = resolverFactory.getAdministrativeResourceResolver(null); adminSession =

Re: Make a JcrUtils created node writable from WebDAV?

2014-11-25 Thread Julian Sedding
Hi Bruce You could try authenticating your WebDAV connection with the admin credentials. If that works, it's likely to be an issue with the setup of your JCR permissions. You may well be connecting as anonymous currently and therefore be denied writes (I'm not familiar with the vanilla Sling