Format « Message « Spring Q&A;

Home
Spring Q&A;
1.Annotation
2.AOP
3.Batch
4.Bean
5.Binding
6.Context
7.Core
8.Database
9.Development
10.EJB
11.Exception
12.File
13.GWT
14.Integration
15.Internationalization
16.Java EE
17.Job
18.JPA
19.JSF
20.Message
21.MVC
22.MVC Controller
23.Object
24.Remote
25.Roo
26.Security
27.Session
28.Spring Tool Suite
29.Struts
30.Test
31.Thread
32.Transaction
33.Web
34.Web Service
35.XML
Spring Q&A; » Message » Format 

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 ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.