Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 97015 invoked from network); 10 Nov 2005 10:18:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Nov 2005 10:18:17 -0000 Received: (qmail 19761 invoked by uid 500); 10 Nov 2005 10:18:06 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 19709 invoked by uid 500); 10 Nov 2005 10:18:05 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 19698 invoked by uid 99); 10 Nov 2005 10:18:05 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2005 02:18:05 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [213.133.33.30] (HELO mailrelay.is.nl) (213.133.33.30) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2005 02:17:58 -0800 Received: from [213.133.51.241] (HELO hai01.hippo.local) by mailrelay.is.nl (CommuniGate Pro SMTP 4.3.5) with ESMTP id 7092487 for dev@cocoon.apache.org; Thu, 10 Nov 2005 11:17:43 +0100 Received: from [10.10.100.205] ([10.10.100.205]) by hai01.hippo.local with Microsoft SMTPSVC(5.0.2195.6713); Thu, 10 Nov 2005 11:17:43 +0100 Message-ID: <43731E41.70307@hippo.nl> Date: Thu, 10 Nov 2005 11:17:37 +0100 From: Jeroen Reijn Reply-To: j.reijn@hippo.nl Organization: Hippo User-Agent: Thunderbird 1.4.1 (Windows/20051006) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: [ExceptionHandling] Catching "Content length exceeds maximum upload size" Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Nov 2005 10:17:43.0212 (UTC) FILETIME=[FCD396C0:01C5E5DF] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi guys, I hope somebody can help me out.Here is the situation: I have a Cform with a file upload widget. When I submit the form with a file that is bigger then the max allowed file size, it throws a nice "Content length exceeds maximum upload size" error. I'm under the impression that I could use the ExceptionSelector to catch this error. So this is what I did: Define the selector in my sitemap: I've put both matchers in a seperate pipeline with a handle-errors part: But when I get the error nothing happens. The selector does not get triggered. It returns the same error I got before. Any clues? Or is there a better way of doing this? Thanks in advance! Jeroen Reijn