This is the third post on this error for the last two days -
is it possible there is a bug in the most recent builds?  We
haven't updated our struts.jar for a couple of weeks waiting
for the final release.

YS

-----Original Message-----
From: Neal Kaiser [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 23, 2001 9:07 AM
To: [EMAIL PROTECTED]
Subject: ActionError Substitution Problem


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

Reply via email to