I have successfully extended SimpleWebdavServlet, and now it handles the GET requests as well as the standard WevdavServlet.
I want to implement a search system (that searches document properties) and then spits out a listing in a similar way to GET requests on single collections... except obviously this time it might not be just one collection, and could be many (depending on the docs that match the query). I have written search.jsp, which POSTs the search query form to my WebdavServlet (is this a good idea?), in which I have implemented a doPost() method which will handle searches and nothing else... Only problem is that is doesn't seem to be getting that far (I have some debug println's that aren't being written). In fact, when I do a directory listing it seems to taking the request, and (now this is weird) writing it as a text file to the root directory of slide! It even shows in the directory listing! I can click it, and open it in notepad... and it is basically the multipart/form-data request that should be getting processed by the Servlet. The Servlet doesn't actually do anything with the request yet apart from the println's, but this other stuff deffo shouldn't be happening! I have attached my SimpleWebdavServlet file, but it's basically stock apart from a few things between custom code markers, and some links that the writer prints as part of the directory listing response... nothing that should bust it up. I pretty much guarantee you that I won't solve this one by myself (as seems to be my trademark)... so I hope someone can help! Regards Stu --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
