Results 1 to 1 of 1
- 04-04-2008, 01:32 PM #1
Member
- Join Date
- Dec 2007
- Location
- Mumbai, India
- Posts
- 37
- Rep Power
- 0
Will struts work for parameterized message in internationlization
Dear All,
I am working in a product which is running under struts. I have a message resource error.message.required = Please enter {0}
whenever i want display the different message
i will use like this in the JSP page
alert('<bean:message key="error.message.required arg0="First Name"/>');
alert('<bean:message key="error.message.required arg0="Last Name"/>');
my doubt is when i change the Locale to another say French(fr). I have to make another Message Resource Say MessageResource.fr with the text in french.
What will happened to the First Name and Last Name which i used in the JSP
Page will it display the same as First Name and Last Name or it will display in french. If not then how can i overcome the problem.
Waiting for the Reply
Thanks & Regards,
Felix
Similar Threads
-
Work on Struts with Eclipse, how?
By Unni in forum EclipseReplies: 2Last Post: 11-17-2008, 06:13 AM -
Please wail Message in jsp
By amar.java in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 04-02-2008, 12:29 PM -
simulate message box
By pablitohh in forum New To JavaReplies: 1Last Post: 12-05-2007, 04:52 PM -
How to brodcast a message in the LAN
By Alpha in forum NetworkingReplies: 1Last Post: 05-20-2007, 04:07 PM -
About bean:message
By yuchuang in forum Web FrameworksReplies: 1Last Post: 05-03-2007, 04:50 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks