Fredrik,
The property value of {common.a} is causing the problem b/c the
java.text.MessageFormat class
is used to to parameter replacements in the message. Are you trying to use
the literal string
'{common.a}' as the value of the key? If so, you need to escape the '{' and
'}' characters.

-Richard


-----Original Message-----
From: Fredrik Andersson [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 03, 2006 4:40 AM
To: Struts Users Mailing List
Subject: java.lang.IllegalArgumentException: can't parse argument number


Hi all

I get this message when tomcat is trying to parse my <bean:message
key="a.key" /> struts tag.

In my resource file I have a key called a.key={common.a} and this seems to
break.

Anyone that knows why this occures and what I can do to fix it?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to