具有多个参数的 spring 消息标记
我正在尝试获取如下所示的i18n消息:
messageCode=测试{0}消息,{1}和{2}。
在jsp中,我有这个:
<spring:message code="messageCode"
arguments="${value1},${value2},${value3}"
htmlEscape="false"/>
参数:
value1=A,B
value2=C,D
value3=E,F
我想要的输出:
Test message for A,B and C,D and E,F
实际输出:
Test message for A and B and C
有什么办法可以克服这一点吗?谢谢。
乔治