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

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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

Currency and country setting for TOMCAT / STRUTS on Solaris

Olaf Reiss

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

Joined: Feb 05, 2001
Posts: 17249

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.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: Currency and country setting for TOMCAT / STRUTS on Solaris
Similar Threads
compatibility of tomcat with different operating system
Wanted Java J2EE Consultants in Dalton,Georgia
Java, J2EE, Swing/SWT Developer (Work From Home)
JSTL formatting issue
tomcat is not starting in the windows 2008 R2 environment