Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 23347 invoked from network); 15 Sep 2004 12:40:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 15 Sep 2004 12:40:16 -0000 Received: (qmail 27198 invoked by uid 500); 15 Sep 2004 12:39:47 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 27171 invoked by uid 500); 15 Sep 2004 12:39:46 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 27157 invoked by uid 99); 15 Sep 2004 12:39:46 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_10_20,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [206.190.36.212] (HELO web53902.mail.yahoo.com) (206.190.36.212) by apache.org (qpsmtpd/0.28) with SMTP; Wed, 15 Sep 2004 05:39:43 -0700 Message-ID: <20040915123939.63184.qmail@web53902.mail.yahoo.com> Received: from [200.103.27.37] by web53902.mail.yahoo.com via HTTP; Wed, 15 Sep 2004 09:39:39 ART Date: Wed, 15 Sep 2004 09:39:39 -0300 (ART) From: =?iso-8859-1?q?Pedro=20Castro?= Subject: Global Forward x Action Mapping To: user@struts.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-204877366-1095251979=:63149" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --0-204877366-1095251979=:63149 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hello everyone, I�ve been thinking about something lately, and haven�t figured it out yet by myself....I don�t understand when we should map a forward in the global-forward element of the struts-config, and when is enough to just map it in the action-mapping element. I�ve read about it in some places, and they all say that the global-forward defines a forward that can be used by all action-mappings, and that the action-mapping maps a particular action to a url. This seems obvious, but, in practice, I�ve still haven�t seen a good use of it....everyone I know maps all forwards to global and define them in the action-mapping element, and I know that this is not a good practice. If someone could provide me a practical example or a more detailed explanation, I would appreciate it. Thanks! --------------------------------- Yahoo! Messenger 6.0 - jogos, emoticons sonoros e muita divers�o. Instale agora! --0-204877366-1095251979=:63149--