Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 43645 invoked from network); 16 Jul 2008 13:41:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jul 2008 13:41:21 -0000 Received: (qmail 20907 invoked by uid 500); 16 Jul 2008 13:41:12 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 20874 invoked by uid 500); 16 Jul 2008 13:41:12 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: 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 20863 invoked by uid 99); 16 Jul 2008 13:41:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Jul 2008 06:41:12 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [66.196.97.66] (HELO web56707.mail.re3.yahoo.com) (66.196.97.66) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 16 Jul 2008 13:40:18 +0000 Received: (qmail 94810 invoked by uid 60001); 16 Jul 2008 13:39:41 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=etv/fUsQjebqLf/JUC1NkW12T0lACdacC/t6h5r385ThVJGxnSzL7OGD/3mHZnVji6VNTPU3YbIiB0Yc5/g31Ssga1mkLYWQQElLRIhyhWo0ARZKSRhikKScQCu0MZwv7Ohe0Brod6qlTFqmMnDc4MZaGGJbmYuKWetTeq2mHkY=; Received: from [68.39.7.164] by web56707.mail.re3.yahoo.com via HTTP; Wed, 16 Jul 2008 06:39:41 PDT X-Mailer: YahooMailWebService/0.7.218 Date: Wed, 16 Jul 2008 06:39:41 -0700 (PDT) From: Dave Newton Reply-To: newton.dave@yahoo.com Subject: Re: 'include' struts.xml stuff is broken? To: Struts Users Mailing List In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <499578.93617.qm@web56707.mail.re3.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --- On Wed, 7/16/08, Dave Belfer-Shevett wrote: > And was completely unmentioned in the document I was looking at: Sorry we didn't put it where you looked. In general I usually recommend looking at core documentation in addition to FAQs, it provides context for the more free-form, supplementary nature of FAQs. I've changed the FAQ entry [1] to point to the core documentation. (Note that changes are not immediately visible.) > That FAQ should have had a link along the lines of > "Full documentation for include is [here...]. Feel free to file a CLA and contribute to the documentation or file JIRA issues against existing documentation; input and contributions are helpful and appreciated (even more so without sniping and implied obligation :) > What neither document mentions is how to configure both the > top level struts.xml and the secondary files to avoid duplicating > entire interceptor stacks using packages. You lost me there; once an element (interceptor, stack, whatever) is defined it's available to subsequent elements. The documentation [2] describes the use of the "extends" attribute and states: "The extends attribute is optional and allows one package to inherit the configuration of one or more previous packages - including all interceptor, interceptor-stack, and action configurations." Dave [1] Breaking up config files FAQ entry: http://struts.apache.org/2.x/docs/can-we-break-up-a-large-strutsxml-file-into-smaller-pieces.html [2] documentation: http://struts.apache.org/2.x/docs/package-configuration.html --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org