I reported it earlier today.
http://nagoya.betaversion.org/bugzilla/show_bug.cgi?id=685
It is currently all alone.
Mark
-----Original Message-----
From: Shkuro, Yuri [mailto:[EMAIL PROTECTED]]
Sent: 23 February 2001 14:25
To: '[EMAIL PROTECTED]'
Subject: RE: ActionError Substitution Problem
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
***************************************************************************
This email message contains confidential information for the above addressee only. If
you are not the intended addressee you must not disclose or use the information in any
manner whatsoever.
Any opinion or views contained in this email message are those of the sender, do not
represent those of the Company in any way and reliance should not be placed upon its
contents.
Unless otherwise stated this email message is not intended to be contractually
binding. Where an Agreement exists between our respective companies and there is
conflict between the contents of this email message and the Agreement then the terms
of that Agreement shall prevail.
Abbey National Treasury Services plc. Registered in England. Registered Office: Abbey
House, Baker Street, London NW1 6XL. Company Registration No: 2338548. Regulated by
the SFA
***************************************************************************