I really can't understand. I selected this example , so I have this in the jsp file:
<s:text name="msg.error"> <s:param >Event01</s:param> </s:text> <br /> <s:text name="name.msg.param" > <s:param >mkyong</s:param> </s:text>
and this is in my .properties:
msg.error = This event doesn't exist: {0} name.msg.param = This is a message from properties file - param : {0}
But the result:
This event does not exist: {0} This is a message from properties file - param : mkyong
I canโt find the real difference.
source share