Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 15157 invoked from network); 29 Apr 2007 04:21:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Apr 2007 04:21:55 -0000 Received: (qmail 12912 invoked by uid 500); 29 Apr 2007 04:21:51 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 12882 invoked by uid 500); 29 Apr 2007 04:21:51 -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 12871 invoked by uid 99); 29 Apr 2007 04:21:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Apr 2007 21:21:51 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of paulus.benedictus@gmail.com designates 66.249.92.174 as permitted sender) Received: from [66.249.92.174] (HELO ug-out-1314.google.com) (66.249.92.174) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Apr 2007 21:21:43 -0700 Received: by ug-out-1314.google.com with SMTP id u40so853228ugc for ; Sat, 28 Apr 2007 21:21:22 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=m0TuT7aS+cwPyfk0OUBCdhq5roeU2LeWQkeJAs+q5lXTpQfpNwYz4HPmMA/OLHNe/Lo5vyGkSUt2wrCxUWlRTjm02ZYgajtOBY89kOur6Oum6euBF8Cv+LTLCn17EPikLhyHJSk9DZrP6WEWd631AjbEYEC5Pw8jxerlWBVO824= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=PEDC0U3xXSaoCQtv8c1rXJHQaQl5l9FsFLnr2lqDX4LVs0rNz/JVSCIQrOOwykU9kS1CpocrgQeX0UdfZPhcK2Zs78g28BtP1F7z/6uB1zxbsRWgjJsS7W5CHgQnP9jHOKv8wR3l0Dfyjo1MZYg3S3gNrdZDSZfsi0EqePdxj1c= Received: by 10.66.220.17 with SMTP id s17mr4296150ugg.1177820482029; Sat, 28 Apr 2007 21:21:22 -0700 (PDT) Received: by 10.67.15.19 with HTTP; Sat, 28 Apr 2007 21:21:21 -0700 (PDT) Message-ID: Date: Sat, 28 Apr 2007 23:21:21 -0500 From: "Paul Benedict" Sender: paulus.benedictus@gmail.com To: "Struts Users Mailing List" Subject: Re: + , conflict? In-Reply-To: <10238633.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_829_17853545.1177820481951" References: <10238483.post@talk.nabble.com> <10238633.post@talk.nabble.com> X-Google-Sender-Auth: 74618a078723e089 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_829_17853545.1177820481951 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline The DTD specifies the order of tags. Your error message is telling you what order they should appear in. On 4/28/07, jiangshachina wrote: > > > Hello, > I think I get the reason -- sequence. > must be prior to , like and > . > > a cup of Java, cheers! > Sha Jiang > > > jiangshachina wrote: > > > > Hi guys, > > I'm new to Struts. > > I'm using Struts 1.3.8 + JBoss 4.0.5.GA + JDK 1.5.0 + Windows XP. > > > > I have a struts-config file as show as below, > > > > > "-//Apache Software Foundation//DTD Struts Configuration > > 1.3//EN" > > "http://struts.apache.org/dtds/struts-config_1_3.dtd"> > > > > > > > path="/failure.jsp"> > > > > > > > > > > > > > > > > When I started the JBoss, an org.xml.sax.SAXParseException was thrown, > the > > exception said: > > The content of element type "struts-config" must match > > > "(display-name?,description?,form-beans?,global-exceptions?,global-forwards?, > > action-mappings?,controller?,message-resources*,plug-in*)". > > If I deleted element global-exceptions or form-beans from the > > struts-config file, that would works well. > > It seems that the two elements conflict with each other!? > > I'm puzzled by the matter? > > > > a cup of Java, cheers! > > Sha Jiang > > > > > > -- > View this message in context: > http://www.nabble.com/%3Cglobal-exceptions%3E-%2B-%3Cform-beans%3E%2C-conflict--tf3664252.html#a10238633 > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > ------=_Part_829_17853545.1177820481951--