Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 1180 invoked from network); 3 May 2006 19:27:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 May 2006 19:27:55 -0000 Received: (qmail 61740 invoked by uid 500); 3 May 2006 19:27:44 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 61703 invoked by uid 500); 3 May 2006 19:27:43 -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 61685 invoked by uid 99); 3 May 2006 19:27:43 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 May 2006 12:27:43 -0700 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of jak-struts-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 May 2006 12:27:42 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FbN09-0000qU-C9 for user@struts.apache.org; Wed, 03 May 2006 21:27:09 +0200 Received: from cpe00045ad20d9e-cm0011e6f60f1e.cpe.net.cable.rogers.com ([24.43.165.49]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 May 2006 21:27:09 +0200 Received: from laurie by cpe00045ad20d9e-cm0011e6f60f1e.cpe.net.cable.rogers.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 May 2006 21:27:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: user@struts.apache.org From: Laurie Harper Subject: Re: WebApp Cannot seem to locate Resource Bundle Date: Wed, 03 May 2006 15:26:53 -0400 Lines: 90 Message-ID: References: <20060502220403.40060.qmail@web38410.mail.mud.yahoo.com> <20060502221932.93783.qmail@web38406.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cpe00045ad20d9e-cm0011e6f60f1e.cpe.net.cable.rogers.com User-Agent: Thunderbird 1.5.0.2 (Macintosh/20060308) In-Reply-To: <20060502221932.93783.qmail@web38406.mail.mud.yahoo.com> Sender: news X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Do you have the properties file (MessageResources.properties) deployed=20 in the correct directory (com/xxx/i18nMessages) somewhere on your=20 classpath? Either under WEB-INF/classes, or within a jar in WEB-INF/lib? Does the properties file actually contain an entry with the key=20 'loginEntry.userName'? Have you checked the logs during startup? Does Struts find and=20 successfully load the properties file you specified? You don't mention which version of Struts you're using; most of the=20 servlet config params you listed are no longer used in recent releases,=20 though as long as you have the tag in=20 struts-config.xml it shouldn't hurt to have them. L. Pat Slater wrote: > I also have a message resource entry in struts-config.xml file: > >=20 > Pat Slater wrote: I have defined Action Servlet c= onfiguration in web.xml as: > =20 > action > org.apache.struts.action.ActionServlet > =20 > =20 > application > =20 > com.xxx.i18nMessages.MessageResources >=20 > =20 > =20 > =20 > config >=20 > =20 > /WEB-INF/conf/struts-config.xml >=20 > =20 > =20 > =20 > debug >=20 > =20 > 2 >=20 > =20 > =20 > =20 > detail >=20 > =20 > 2 >=20 > =20 > 2 > =20 > =20 > But, when I put this into a jsp page: > <%@ taglib uri=3D"/WEB-INF/conf/struts-bean.tld" prefix=3D"bean" %> > =20 > =20 > then, I the exception: > ERROR - ApplicationDispatcher.invoke(719) | Servlet.service() for serv= let jsp threw exception > javax.servlet.jsp.JspException: Missing message for key "loginEntry.us= erName" > =20 > ERROR - InsertTag$InsertHandler.doEndTag(922) | ServletException in '/= WEB-INF/tiles/login/loginFields.jsp': Missing message for key "loginEntry= =2EuserName" > javax.servlet.ServletException: Missing message for key "loginEntry.us= erName" > =20 > My struts app cannot seem to resolve the loginEntry.userName key-value= pair for some reason.... Need help on this. Thank you very much > =20 > =20 > --------------------------------- > Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just = 2=EF=BF=BD/min with Yahoo! Messenger with Voice. >=20 > =09 > --------------------------------- > New Yahoo! Messenger with Voice. Call regular phones from your PC and s= ave big. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org