struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Barrows" <jbarr...@sssc.com>
Subject RE: i18n input
Date Fri, 03 Dec 2004 15:45:01 GMT

> -----Original Message-----
> From: Simon Matic Langford [mailto:simon.langford@pcmsgroup.com]
> Sent: Friday, December 03, 2004 2:50 AM
> To: user@struts.apache.org
> Subject: i18n input
> 
> 
> Is there a general pattern for localised input, ie being able to enter
> numbers and dates formatted for Germany but getting them formatted for
> Java on the server side for constructing BigDecimals etc, aside from
> using utilities in the java.text package? What about for 
> displaying back
> the other way?

Java comes with i18n built in.  You want the JSTL <fmt:blah for output and look at the
way message resources are handled in struts, as well as read through the i18n documentation
on the sun site.

> 
> I saw a post about this a couple of weeks ago but there was not
> response...
> 
> 
> Thanks
> 
> Simon
> 
> 
> The information contained in this e-mail is intended only for 
> the person
> or
> entity to which it is addressed and may contain confidential and/or
> privileged material. If You are not the intended recipient of this
> e-mail,
> the use of this information or any disclosure, copying or distribution
> is
> Prohibited and may be unlawful. If you received this in error, please
> contact the sender and delete the material from any computer. 
> The views
> expressed in this e-mail may not necessarily be the views of The PCMS
> Group
> plc and should not be taken as authority to carry out any instruction
> contained.
>  
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message