Return-Path: Delivered-To: apmail-struts-dev-archive@www.apache.org Received: (qmail 8244 invoked from network); 2 Dec 2004 00:05:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Dec 2004 00:05:40 -0000 Received: (qmail 53263 invoked by uid 500); 2 Dec 2004 00:05:26 -0000 Delivered-To: apmail-struts-dev-archive@struts.apache.org Received: (qmail 53206 invoked by uid 500); 2 Dec 2004 00:05:26 -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 53176 invoked by uid 99); 2 Dec 2004 00:05:25 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Dec 2004 16:05:25 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id iB205Ma7002983 for ; Thu, 2 Dec 2004 01:05:22 +0100 Received: (from nobody@localhost) by ajax.apache.org (8.12.11/8.12.11/Submit) id iB205MNb002980; Thu, 2 Dec 2004 01:05:22 +0100 Date: Thu, 2 Dec 2004 01:05:22 +0100 Message-Id: <200412020005.iB205MNb002980@ajax.apache.org> From: bugzilla@apache.org To: dev@struts.apache.org Subject: DO NOT REPLY [Bug 32484] New: - Cannot use rebuilt struts-blank example; doesn't work because of bad message-resource parameter. X-Bugzilla-Reason: AssignedTo X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=32484 Summary: Cannot use rebuilt struts-blank example; doesn't work because of bad message-resource parameter. Product: Struts Version: 1.2.4 Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P3 Component: Example AssignedTo: dev@struts.apache.org ReportedBy: megmond@randomwalk.com I downloaded and installed Tomcat 5.5.4. I downloaded struts 1.2.4, and dropped the .war files in Tomcat's webapps dir. I went to "http://localhost:8080/struts-blank" and got the welcome message. All is well so far. Now opened a DOS window, went to /struts-blank/WEB- INF/src, and ran "ant all" (using ant 1.6.1). This generates a new .war file in "c:/projects/lib" called "blank.war". I took that .war file and dropped it into Tomcat's webapps dir. Then I went to "http://localhost:8080/blank" but now I got an error complaining about missing resources (welcome.title). After some searching, I found the problem. The struts-config.xml file that comes within the struts-blank.war of the struts 1.2.4 distribution has the following line: Indeed, in the struts-blank.war file, the resource file is called MessageResources.properties, but in the WEB-INF/classes/resources directory, the file there is called application.properties. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org For additional commands, e-mail: dev-help@struts.apache.org