Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1E9C3184CD for ; Tue, 25 Aug 2015 14:19:25 +0000 (UTC) Received: (qmail 53617 invoked by uid 500); 25 Aug 2015 14:19:23 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 53576 invoked by uid 500); 25 Aug 2015 14:19:23 -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 53564 invoked by uid 99); 25 Aug 2015 14:19:23 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Aug 2015 14:19:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 0D9BFEDC13 for ; Tue, 25 Aug 2015 14:19:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.642 X-Spam-Level: * X-Spam-Status: No, score=1.642 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.338, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id NwiHcExD3pzp for ; Tue, 25 Aug 2015 14:19:15 +0000 (UTC) Received: from COL004-OMC2S7.hotmail.com (col004-omc2s7.hotmail.com [65.55.34.81]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 77838506A7 for ; Tue, 25 Aug 2015 14:19:15 +0000 (UTC) Received: from COL131-W10 ([65.55.34.71]) by COL004-OMC2S7.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Tue, 25 Aug 2015 07:19:07 -0700 X-TMN: [W1AhETjiPhhM3rHnI2oYSln51GCdPZ1P] X-Originating-Email: [zyxrm@hotmail.com] Message-ID: Content-Type: multipart/alternative; boundary="_c47ed3de-8b3b-4b06-a852-151c48b35011_" From: fea jabi To: "user@struts.apache.org" Subject: RE: Struts2 resource bundle labels not showing up Date: Tue, 25 Aug 2015 10:19:07 -0400 Importance: Normal In-Reply-To: References: , ,, ,, MIME-Version: 1.0 X-OriginalArrivalTime: 25 Aug 2015 14:19:07.0551 (UTC) FILETIME=[00F292F0:01D0DF41] --_c47ed3de-8b3b-4b06-a852-151c48b35011_ Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable I really appreciate you helping me. But=2C still having issues. =20 Under "resources" folder -----> which is a source folder(getting copied to= \WEB-INF\classes) I added the below files struts.properties test.properties =20 In struts.properties struts.custom.i18n.resources=3Dtest =20 Also=2C tried adding this in struts.xml =0A= =0A= =20 =20 Both didn't work. Am I missing something? =20 =20 > From: lukaszlenart@apache.org > Date: Tue=2C 25 Aug 2015 15:45:48 +0200 > Subject: Re: Struts2 resource bundle labels not showing up > To: user@struts.apache.org >=20 > 2015-08-25 15:34 GMT+02:00 fea jabi : > > I tried setting the default-action-ref in struts.xml as below. That did= n't work. Also=2C I tried placing the properties in the package.properties = that didn't work either. Do I need to do any setting for package.properties= to work. Tried placing it within the "com.xxx.actions" and outside as well= . > > > > > > > > > > > > > > login > > > > > > >=20 > Sorry=2C I meant "default-class-ref" not "default-action-ref". And > defining action like this >=20 > > login > >=20 > will use class from "default-class-ref" to create an instance of the > action. And by default it's "com.opensymphony.xwork2.ActionSupport" so > you must put properties in > com/opensymphony/xwork2/ActionSupport.properties or define global > properties >=20 > package.properties won't work as well as LoginAction and ActionSupport > are in different packages - com/xxx/actions vs com/opensymphony/xwork2 >=20 >=20 > Regards > --=20 > =A3ukasz > + 48 606 323 122 http://www.lenart.org.pl/ >=20 > --------------------------------------------------------------------- > To unsubscribe=2C e-mail: user-unsubscribe@struts.apache.org > For additional commands=2C e-mail: user-help@struts.apache.org >=20 = --_c47ed3de-8b3b-4b06-a852-151c48b35011_--