Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 96250 invoked from network); 6 Mar 2008 16:06:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Mar 2008 16:06:55 -0000 Received: (qmail 61303 invoked by uid 500); 6 Mar 2008 16:06:42 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 61272 invoked by uid 500); 6 Mar 2008 16:06:42 -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 61261 invoked by uid 99); 6 Mar 2008 16:06:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Mar 2008 08:06:42 -0800 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.74] (HELO web56715.mail.re3.yahoo.com) (66.196.97.74) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 06 Mar 2008 16:06:06 +0000 Received: (qmail 68858 invoked by uid 60001); 6 Mar 2008 16:06:05 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=LJNZ+OBkdVWHFWDuUH5lDkeDUu1V5Shqt+sPAChL16JpO/Nakt62FRtRRtMNXghHsi769/prkkmojs2+p8bvZVrQg6bpchuXpEY1VBlniz/0aJNACxlvSISV7jWL0x5nhM6uEHrITEjpmRDpZObN1rBvvfss7KgO439u4Vigi1o=; X-YMail-OSG: xt7WcR0VM1nI5_fasvv3BLmpfXKZ8VvP0lyDLOAA Received: from [68.39.7.164] by web56715.mail.re3.yahoo.com via HTTP; Thu, 06 Mar 2008 08:06:04 PST Date: Thu, 6 Mar 2008 08:06:04 -0800 (PST) From: Dave Newton Subject: RE: Simple helloworld test fails with "Could not find action orresult" To: Struts Users Mailing List In-Reply-To: <0C260F619E428642BFA6380177C3ADF305F6442D@exmsea005.us.wamu.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <390434.68432.qm@web56715.mail.re3.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --- "Karr, David" wrote: > > So is the "package" attribute supposed to match the Java > > package of the Action classes? Martin Gainty had earlier > > said I should use actionPackages. Before I added that, it > > wasn't even getting into my Action classes at all. If I now > > remove actionPackages, change the package attribute to match > > my Java class, and then remove the namespace attribute, do > > you expect that will work? > > I can self-answer this, I guess. After removing actionPackages, and > setting the "package" attribute to match the Java class (something I can > easily see someone assuming) makes it say this (it's even bad grammar, > besides being a broken message): What "package" attribute? In the struts config file? I'll look in to that. I don't think the documentation states anything in particular about naming requirements for packages; if there is one we'll document it. > Are there still any issues hiding here that I should know about? I'm not sure how we'd know if there were or not. This is the first time, AFAIK, that these issues have come up at all. You tried to mix two forms of configuration; AFAIK the actionPackages element is only for zero-config, annotation-based configuration. Most people don't try to mix the two, I guess. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org