Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 15179 invoked from network); 2 Sep 2003 16:46:28 -0000 Received: from unknown (HELO smtp7.hy.skanova.net) (195.67.199.140) by daedalus.apache.org with SMTP; 2 Sep 2003 16:46:28 -0000 Received: from gandalf (h85n2fls303o851.telia.com [81.224.229.85]) by smtp7.hy.skanova.net (8.12.9/8.12.9) with SMTP id h82GkM7Q003733 for ; Tue, 2 Sep 2003 18:46:22 +0200 (CEST) From: "Magnus Mickelsson" To: "Cactus Users List" Subject: Always execute a end method on the client-side? Date: Tue, 2 Sep 2003 18:46:22 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 Importance: Normal In-Reply-To: X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi guys, first off - sorry for the spam mail. I was too tired whan I read the message. (DOH!) Now to my point. I sent this to the list before, but was for some reason refused by the moderator. Here goes again (this thing is really important to me, so I'd be really grateful for any hints :-) ------ I just wanted to know if there is some way to guarantee that either the end(WebResponse) or endXXX(WebResponse) method in Cactus 1.5 is always executed (or similar functionality), regardless of assertion failure or exceptions? My problem is that I set up test data using DBUnit on the client in the begin(WebRequest) method, and then want to clean it up after the test has run, regardless of it has failed or not. I do not want the DBUnit JARs, test-data etc. transported to the server unless I absolutely _have to_. :-) Any ideas? Thanks in advance! /Magnus --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.512 / Virus Database: 309 - Release Date: 2003-08-19