users@glassfish.java.net

Glassfish,excel and locale problem?

From: <glassfish_at_javadesktop.org>
Date: Tue, 24 Feb 2009 22:53:11 PST

I run an application on Glassfish v2 server, the locale of domain is en_US. From a servlet i'm printing table with formated(DecimalFormat) numbers. When I browse the page everything is OK, but when i download the page as excel xls (no frameworks, just changing mime), the numbers become DATES !?!?!?. The locale of my PC is different.

On Tomcat 6 there isn't such problem!

Any help or hint.
Thanks a lot.

crosspost here: http://www.coderanch.com/t/432885/Servlets/java/Glassfish-excel-locale#1923033

Message was edited by: veskojl
[Message sent by forum member 'veskojl' (veskojl)]

http://forums.java.net/jive/thread.jspa?messageID=333691