aspose file tools*
The moose likes Servlets and the fly likes Currency and country setting for TOMCAT / STRUTS on Solaris Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Currency and country setting for TOMCAT / STRUTS on Solaris" Watch "Currency and country setting for TOMCAT / STRUTS on Solaris" New topic
Author

Currency and country setting for TOMCAT / STRUTS on Solaris

Olaf Reiss
Greenhorn

Joined: Mar 20, 2005
Posts: 1
Hi community,

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?

Has anyone of you any idea?

Thanks very much.

Best Regards,

Olaf Reiss
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17257
    
    6

OOOH, good question. I have no clue.

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.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
 
subject: Currency and country setting for TOMCAT / STRUTS on Solaris