Good morning,

With struts2.1.6, In package.properties:
empty.error={0} cannot be empty.

Setup field error as:

this.addFieldError("username.empty", getText("empty.error"));

But is there a way, I can replace {0} with "username"?

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