Thanks, for all the help. I got this working.
All I had to do was redeploy and re-launch the application. Then global
properties worked fine.
> From: zy...@hotmail.com
> To: user@struts.apache.org
> Subject: RE: Struts2 resource bundle labels not showing up
> Date: Tue, 25 Aug 2
tried adding this in struts.xml
Both didn't work. Am I missing something?
> From: lukaszlen...@apache.org
> Date: Tue, 25 Aug 2015 15:45:48 +0200
> Subject: Re: Struts2 resource bundle labels not showing up
> To: user@struts.apache.org
>
> 2015-08-25 15
2015-08-25 15:34 GMT+02:00 fea jabi :
> 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 with
and outside as well.
login
> 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+
2015-08-25 14:50 GMT+02:00 fea jabi :
> Sorry, here is my Struts.xml. Thanks, for trying to help me.
>
> Struts.xml
>
>
>
>
>
> login
>
>
>
So I assume that's your login form input action from where you start.
If so this doesn't use LoginAction but ActionS
org
> Date: Tue, 25 Aug 2015 14:46:24 +0200
> Subject: Re: Struts2 resource bundle labels not showing up
> To: user@struts.apache.org
>
> 2015-08-25 14:41 GMT+02:00 fea jabi :
> > Need help with this please.
>
> Sure but can you answer my question I have sent yo
2015-08-25 14:41 GMT+02:00 fea jabi :
> Need help with this please.
Sure but can you answer my question I have sent you 6 hours ago?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
-
To unsubscribe, e-mail: user-u
Need help with this please.
> From: zy...@hotmail.com
> To: user@struts.apache.org
> Subject: RE: Struts2 resource bundle labels not showing up
> Date: Mon, 24 Aug 2015 10:20:41 -0400
>
> Thanks,, for trying to help me on this.
>
> yes, in the properties file I do
2015-08-24 16:20 GMT+02:00 fea jabi :
> How to get the labels when I load the page then? I am calling the same
> action(login) to launch the page too.
How did you configure the both actions? in struts.xml?
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
--
t the labels when I load the page then? I am calling the same
action(login) to launch the page too.
> From: lukaszlen...@apache.org
> Date: Mon, 24 Aug 2015 15:24:47 +0200
> Subject: Re: Struts2 resource bundle labels not showing up
> To: user@struts.apache.org
>
> 2015-08-21
2015-08-21 8:17 GMT+02:00 fea jabi :
>
>
> Using struts2 in iRad
>
>
>
> 1. In src folder have package
> com.xyx.actions > in this have LoginAction.java
>
> 2. Created
> "resources" -- > of type Source Folder
>
> in it I added a package
> com.xyx.actions > in this added LoginActio
any reason why you are not supplying line breaks between key1=value1key2=value2
in properties file:
label.user=Userlabel.password=Password
instead of:
label.user=User
label.password=Password
?
Martin
12 matches
Mail list logo