Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 30421 invoked from network); 3 Oct 2004 07:25:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Oct 2004 07:25:06 -0000 Received: (qmail 24570 invoked by uid 500); 3 Oct 2004 07:23:38 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 24526 invoked by uid 500); 3 Oct 2004 07:23:35 -0000 Mailing-List: contact dev-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Developers List" Reply-To: "Struts Developers List" Delivered-To: mailing list dev@struts.apache.org Received: (qmail 24513 invoked by uid 500); 3 Oct 2004 07:23:35 -0000 Received: (qmail 24510 invoked by uid 99); 3 Oct 2004 07:23:35 -0000 X-ASF-Spam-Status: No, hits=-10.0 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 03 Oct 2004 00:23:34 -0700 Received: (qmail 30242 invoked by uid 65534); 3 Oct 2004 07:23:33 -0000 Date: 3 Oct 2004 07:23:33 -0000 Message-ID: <20041003072333.30240.qmail@minotaur.apache.org> From: niallp@apache.org To: commits@struts.apache.org Subject: svn commit: rev 51825 - struts/trunk/src/share/org/apache/struts/tiles X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: niallp Date: Sun Oct 3 00:23:32 2004 New Revision: 51825 Modified: struts/trunk/src/share/org/apache/struts/tiles/ControllerSupport.java Log: Bug 31481 Have execute() call perform() for backward compatibility - reported by Lars Beuster Modified: struts/trunk/src/share/org/apache/struts/tiles/ControllerSupport.java ============================================================================== --- struts/trunk/src/share/org/apache/struts/tiles/ControllerSupport.java (original) +++ struts/trunk/src/share/org/apache/struts/tiles/ControllerSupport.java Sun Oct 3 00:23:32 2004 @@ -1,7 +1,7 @@ /* * $Header: /home/cvs/jakarta-struts/src/share/org/apache/struts/tiles/ControllerSupport.java,v 1.8 2004/03/14 06:23:43 sraeburn Exp $ * $Revision: 1.8 $ - * $Date: 2004/03/14 06:23:43 $ + * $Date$ * * Copyright 1999-2004 The Apache Software Foundation. * @@ -41,6 +41,8 @@ * @param request Current request * @param response Current response * @param servletContext Current servlet context + * @deprecated Use execute() instead. This will be removed after + * Struts 1.2. */ public void perform( ComponentContext tileContext, @@ -48,12 +50,6 @@ HttpServletResponse response, ServletContext servletContext) throws ServletException, IOException { - - try { - this.execute(tileContext, request, response, servletContext); - } catch (Exception e) { - throw new ServletException(e); - } } /** @@ -66,5 +62,6 @@ ServletContext servletContext) throws Exception { + perform(tileContext, request, response, servletContext); } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org