struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yee, Richard K CTR DMDC" <Richard.Yee....@osd.pentagon.mil>
Subject RE: java.lang.IllegalArgumentException: can't parse argument numb er
Date Mon, 03 Jul 2006 16:11:11 GMT
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:andersson@r2m.se] 
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: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message