All my substitutions are showing up like this:
Sorry, the username [Ljava.lang.Object;@7268de is already in use.
My code is like this:
String user_username="test";
errors.add("username",
new ActionError("error.user_username.unique",user_username));
I've also tried:
new ActionError("error.user_username.unique",new
String(user_username)));
And my properties file has:
error.user_username.unique = Sorry, the username {0} is already in use.
I am using Orion and Struts build from 2 nights ago.
What am I doing wrong?
Thanks, Neal
winmail.dat