login.properties has to be mentioned in you struts.properties file as
struts.custom.i18n.resources=login
Above means that login.properties resides in WEB-INF/classes
On Wed, Jan 20, 2010 at 1:47 PM, Emi Lu wrote:
> Lukasz Lenart wrote:
>
>> Please read documentation, everything is explained th
Lukasz Lenart wrote:
Please read documentation, everything is explained there.
http://struts.apache.org/2.1.8.1/docs/localization.html
http://struts.apache.org/2.1.8.1/docs/strutsproperties.html
This did not answer my question :(
Using package.properties works fine for me. The problem is how
Please read documentation, everything is explained there.
http://struts.apache.org/2.1.8.1/docs/localization.html
http://struts.apache.org/2.1.8.1/docs/strutsproperties.html
Regards
--
Lukasz
KapituĊa Javarsovia 2010
http://javarsovia.pl
Good morning,
I created login.properties that contains "username.required=Username
cannot be empty."
If I rename this file to packages.properties, the system always return
the text message, but if the name is not that, the message never returned.
May I know if I want struts2 read login.prop
4 matches
Mail list logo