Format « Message « Spring Q&A





1. Format Spring:message argument    stackoverflow.com

How can I format the arguments of my <spring:message>? I have a message like this:

 message.myMessage=this is {0} my message {1} with {2} multiple arguments
My jsp has the following:
<spring:message code="message.myMessage" 
 ...

2. Formatting spring:message result    forum.springsource.org

In short - no. To do it at the presentation level (in JSP), you would have to write you own tag to wrap around the Spring tag and parse the body. ...

3. spring message tag for date formatting not working    forum.springsource.org

spring message tag for date formatting not working Hi, I wanted to display some date fields in my jsp . I used spring:message tag with message defined in resourcebundle as follows ...