Advertisement

05.12.2008 at 03:32AM PDT, ID: 23394085
[x]
Attachment Details

finding and using WebdavServlet in Tomcat

Asked by Ronald in Apache Tomcat Application Server, Java Servlets

Tags: Apache Tomcat, 6.x, Java

Hi everybody,

I need "limited webdav" functionality in one of my web applications. Specifically, I want to "host" *.ics files and also do some processing when they are up- and downloaded.

Quite a while ago (I think it was Tomcat 5), I found Tomcat's WebdavServlet. I extended / subclassed it to add some of my own funtionality and it works fine as long as it is the only servlet in a little "test" web application. However, when I try to integrate it into my web application, it doesn't seem to work any more. I have tested lots of things and I have no clue why that is... :-((( No error message, nothing.

I wanted to debug it and in order to find it, I need current code and jar files. This is where the trouble begins: I couldn't find any information about it on Tomcat's site and almost nothing about this servlet in Tomcat 6. If I hadn't known it existed, I would've never found it!
By using Google, I found out that it's still "part of" Tomcat 6:
http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/catalina/servlets/WebdavServlet.html
http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/java/org/apache/catalina/servlets/

This is like hunting a ghost... I am looking for the jar files "servlets-webdav.jar" and "servlets-default.jar" that were part of Tomcat 5(.0?) and cannot find a trace of them...

That's part 1 of my question: Where can I find it?

Part 2: How can I use it? I mean: I did have it installed and working "partially" - but what are the restrictions?
e.g., I really don't know why I have problems: I have two web applications runnning in the same Tomcat server and with the same "servlets-webdav.jar" and one of them works and the other one doesn't. I really haven't found configuration differences that I consider relevant...


Thanks a lot in advance,

Ronald

P.S.: I have also found a different Webdav servlet on sourceforge.net, but that would be a different approach and is not a good answer to this question. I want to use the Tomcat servlet first...Start Free Trial
[+][-]05.12.2008 at 04:50AM PDT, ID: 21546038

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.15.2008 at 09:14AM PDT, ID: 21575252

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Apache Tomcat Application Server, Java Servlets
Tags: Apache Tomcat, 6.x, Java
Sign Up Now!
Solution Provided By: girionis
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.19.2008 at 05:13AM PDT, ID: 21597027

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.19.2008 at 05:18AM PDT, ID: 21597057

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.19.2008 at 05:27AM PDT, ID: 21597123

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.19.2008 at 05:39AM PDT, ID: 21597196

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628