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.properties:
(1) where should the login.properties saved?
(2) Do I need any setup in strut.xml or web.xml to getText("username.required") from login.properties?

Thanks a lot!
--
Lu Ying

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to