Re: [S2] Conversion doesn't work on another system

2009-01-22 Thread Lukasz Lenart
2009/1/22 Milan Milanovic : > Do you know where I can find these params for every country (Java 1.5) ? Try with this [1] [1] http://java.sun.com/developer/technicalArticles/J2SE/locale/ Regards -- Lukasz http://www.lenart.org.pl/ ---

Re: [S2] Conversion doesn't work on another system

2009-01-22 Thread Milan Milanovic
I have set this on a Tomcat service, but it doesn't work! When I run it with bin/startup.bat, then it works. What I don't understand here, what locale settings have with this formatting if I have defined my own conversion class ? -- Thx, Milan Milan Milanovic wrote: > > Good, thank you. > > D

Re: [S2] Conversion doesn't work on another system

2009-01-22 Thread Milan Milanovic
Good, thank you. Do you know where I can find these params for every country (Java 1.5) ? -- Milan Lukasz Lenart wrote: > > 2009/1/22 Milan Milanovic : >> >> Do you know where I can find how to define those params for a language ? > > Follow this guideline [1] and specify such params: > -Dus

Re: [S2] Conversion doesn't work on another system

2009-01-22 Thread Lukasz Lenart
2009/1/22 Milan Milanovic : > > Do you know where I can find how to define those params for a language ? Follow this guideline [1] and specify such params: -Duser.language=fr -Duser.country=CA but with your specific settings [1] http://tomcat.apache.org/tomcat-5.5-doc/windows-service-howto.html

Re: [S2] Conversion doesn't work on another system

2009-01-22 Thread Milan Milanovic
Do you know where I can find how to define those params for a language ? -- Thx, Milan Lukasz Lenart wrote: > > 2009/1/22 Milan Milanovic : >> I changed my regional settings to my local settings in Control panel. I'm >> not sure where I should change it and what exactly I need to change ? > >

Re: [S2] Conversion doesn't work on another system

2009-01-22 Thread Lukasz Lenart
2009/1/22 Milan Milanovic : > I changed my regional settings to my local settings in Control panel. I'm > not sure where I should change it and what exactly I need to change ? You can also define local and language when you're starting Tomcat with -D params, then it will be independent from OS set

Re: [S2] Conversion doesn't work on another system

2009-01-22 Thread Milan Milanovic
Hi, I changed my regional settings to my local settings in Control panel. I'm not sure where I should change it and what exactly I need to change ? -- Thx, Milan Lukasz Lenart wrote: > > 2009/1/22 Milan Milanovic : >> I found what is the problem, when I run Tomcat with its bin\startup.bat >>

Re: [S2] Conversion doesn't work on another system

2009-01-22 Thread Lukasz Lenart
2009/1/22 Milan Milanovic : > I found what is the problem, when I run Tomcat with its bin\startup.bat it > works, but when I run it as Windows service than conversion doesn't work ?! Check default local settings, Tmcat as a sevice will use service account (local or network) and his local settings,

Re: [S2] Conversion doesn't work on another system

2009-01-22 Thread Milan Milanovic
I found what is the problem, when I run Tomcat with its bin\startup.bat it works, but when I run it as Windows service than conversion doesn't work ?! -- Thx, Milan Milan Milanovic wrote: > > Hi, > > I'm using Struts 2.0.14 + Spring in my Eclipse Europa environment with > Apache Tomcat 5.5 o

[S2] Conversion doesn't work on another system

2009-01-22 Thread Milan Milanovic
Hi, I'm using Struts 2.0.14 + Spring in my Eclipse Europa environment with Apache Tomcat 5.5 on WinXP and I need to define conversion with my class MoneyBigDecimalConverter extends StrutsTypeConverter {...}, because I need to switch , and . in a value shown in jsp with textfield. But when I copie