The cause of the probelm is that ,
(comma) is the default separator. So at the end the spring message tag will get the String A,B,C,D,E,F
for parameter arguments
, and it will split this string into 6 different internal arguments for the message.
You must change the separator. If you use ;
for example, then it will work.
<spring:message code="messageCode"
arguments="${value1};${value2};${value3}"
htmlEscape="false"
argumentSeparator=";"/>
@See Spring Reference: Appendix F.6 The Message Tag