Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 50935 invoked from network); 30 Jul 2007 23:26:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jul 2007 23:26:14 -0000 Received: (qmail 87852 invoked by uid 500); 30 Jul 2007 23:26:03 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 87833 invoked by uid 500); 30 Jul 2007 23:26:03 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 87822 invoked by uid 99); 30 Jul 2007 23:26:03 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 16:26:03 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [206.18.177.51] (HELO alnrmhc11.comcast.net) (206.18.177.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jul 2007 23:25:57 +0000 Received: from [10.1.0.141] (65-42-208-133.ded.ameritech.net?[65.42.208.133]) by comcast.net (alnrmhc11) with ESMTP id <20070730232536b1100010c0e>; Mon, 30 Jul 2007 23:25:36 +0000 Message-ID: <46AE736E.8070106@apache.org> Date: Tue, 31 Jul 2007 00:25:34 +0100 From: Mark Thomas User-Agent: Thunderbird 2.0.0.5 (Windows/20070716) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Servlets Sending WEBDAV Requests(i.e. PROPPATCH) Work in Tomcat 4.x but not Tomcat 5.x + References: In-Reply-To: X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Jason Kong wrote: > Greetings > > My Company has a number of servlets that communicate with each other using > Webdav requests, in particular > Requests containing the PROPPATCH verb. Under the tomcat 4.x environment, > there is no issue, but once under tomcat 5.x or even tomcat 6.x, the > requests fail (although no exceptions are thrown, the response is HTTP 200 > even!) > > Does anyone have a work-around and possibly an explanation? The behaviour you describe does not agree with the source for the webdav servlet (which is the same across all Tomcat versions). The source for doPropPatch() is: protected void doProppatch(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { if (readOnly) { resp.sendError(WebdavStatus.SC_FORBIDDEN); return; } if (isLocked(req)) { resp.sendError(WebdavStatus.SC_LOCKED); return; } resp.sendError(HttpServletResponse.SC_NOT_IMPLEMENTED); } Therefore I would never expect to see this work and certainly wouldn't expect to see a 200. Maybe a configuration issue? HTH, Mark --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org