|
From: Dave H. <DH...@xr...> - 2006-11-11 15:43:58
|
How does JSW handle Java's Locale.getDefault() behavior? When I debug my application on Windows=20 Locale.getDefault() returns the user's regional selection from the control panel. When I run it as a service (as a server also) it always returns US_en irregardless of how the regional settings are configured. What is the expected behavior? =20 I could understand that, as a service, it would ignore the user's settings because it's not running as a user application. But how does Java know this? I'm not clear on how JSW/Java interact; how would it by-pass normal Java behavior of checking the user's regional settings. I note that I do start the service often when a user is logged in and it still ignores the regional settings. =20 I am trying to figure out if this behavior is normal and expected because of JSW or if it is caused by another part of the application system. =20 Any thoughts are greatly appreciated! =20 -dh =20 |