I tried setting the default-action-ref in struts.xml as below. That didn't work. Also, 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. <package name="test_default" extends="struts-default" namespace="/"><result-types> <result-type name="tiles" class="org.apache.struts2.views.tiles.TilesResult" />
</result-types> <default-action-ref name="login"/> <action name="testPortal" > <result type="tiles">login</result> </action> <action name="login" class="com.xxx.actions.LoginAction"> > From: lukaszlen...@apache.org > Date: Tue, 25 Aug 2015 15:00:34 +0200 > Subject: Re: Struts2 resource bundle labels not showing up > To: user@struts.apache.org > > 2015-08-25 14:50 GMT+02:00 fea jabi <zy...@hotmail.com>: > > Sorry, here is my Struts.xml. Thanks, for trying to help me. > > > > Struts.xml > > > > > > <action name="testPortal" > > > > > > > <result type="tiles">login</result> > > > > > > </action> > > So I assume that's your login form input action from where you start. > If so this doesn't use LoginAction but ActionSupport - it's a default > action defined with "default-action-ref" [1] in struts-default.xml. > You can override that in struts.xml or define other more common global > properties [2] > > [1] > https://struts.apache.org/docs/action-configuration.html#ActionConfiguration-ActionDefault > [2] http://struts.apache.org/docs/localization.html > > > Regards > -- > Ćukasz > + 48 606 323 122 http://www.lenart.org.pl/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org >