Currency and country setting for TOMCAT / STRUTS on Solaris
posted 10 years ago
we have installed an Apache Tomcat 5.5 server on a windows 2003 server and all is working fine. The user of our jsp sites can enter prices (currency data). The prices are formatted and validated for the german speaking areas. We are using struts.
Now we have brought this project on a Apache TOMCAT 5.5 server with solaris as operating system. All jsps and java classes are exactly the same from the windows server mentioned first to the sun solaris server.
We tested the soultion again and recognized that the currency fields are not validated and formatted for the english countries insted for germany.
So I guess there is anywhere a country setting missing or java (sdk) does not get the necessary country information form the operating system or properties files or needs struts any country specific information?
But I will ask about your backend database. If you are using a product like Oracle, you can have a back-end check or back-end solution using the database to format the data in the correct countries format.
If this ends up being related to Struts, we have a Struts forum that I can move this thread to, if you wish.