Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: how to configure tomcat for Turkey?

Dharma General

2007-01-05

Replies:

filip, thanks. but turkey locale uses "," to denote decimal vs "." in USA.
for further testing, plz tell me what changes i need to make to tomcat to
use turkey locale so that i can test my app in usa?

On 1/4/07, Filip Hanik - Dev Lists <devlists@(protected):
>
> it's your "," character.
> you need to use the java.text.DecimalFormat class
>
> Filip
>
> Dharma General wrote:
> > hello,
> >
> > (1) i want my JSP application to run with Turkey locale. how should i
> > configure apache Tomcat 5.x for Turkey?
> > (2) at present, i want to find out about an error message ---
> >
> > java.lang.NumberFormatException: For input string: "0,00"
> >   at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
> >   at java.lang.Float.parseFloat(Unknown Source)
> >
> > what is it?
> >
> > thx
> >
> > ------------------------------------------------------------------------
> >
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.5.432 / Virus Database: 268.16.4/615 - Release Date: 1/3/2007
> 1:34 PM
> >
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>
©2008 junlu.com - Jax Systems, LLC, U.S.A.