Results 1 to 4 of 4
- 06-30-2008, 11:09 AM #1
Member
- Join Date
- Apr 2008
- Posts
- 3
- Rep Power
- 0
Getting the locale of the server who initiated the applet
I have an application that uses applets running on a server whose system locale is French. So when i an sending data from Database to applet I use XML. Now i need to format the data in the locale that is there on the server and at the client side when the XML is read to populate the locale I need to read it in the same locale though the browser locale may be different.
SO i pass the locale of the server as a attribute in the XML. But how will i get the locale of the server which has initiated the applet.
Thanks,
Prachi
- 06-30-2008, 05:30 PM #2
Not sure I understand the question. If you put your applet on a server, why wouldn't you know the location of that server?
From what code running on what machine are you trying to determine the location of the server that an applet has been loaded from?
Or are you looking for the locale of the browser that has loaded the applet via an HTML page? Would there would be some info in the HTML request header?
- 06-30-2008, 11:43 PM #3
Would you please post a link to the other forums that you have asked this question on so we could check them before taking the time to answer your question here.
- 03-29-2009, 08:45 PM #4
Member
- Join Date
- Mar 2009
- Location
- US
- Posts
- 4
- Rep Power
- 0
Similar Threads
-
Copy a .swf file from server side to client using signed applet
By Imoracle in forum Java AppletsReplies: 2Last Post: 10-05-2008, 06:13 PM -
Locale example
By Java Tip in forum Java TipReplies: 0Last Post: 01-29-2008, 09:04 AM -
How ro change the locale of JVM
By ravi.ks007@hotmail.com in forum Advanced JavaReplies: 2Last Post: 12-26-2007, 06:17 AM -
Socket refused, but applet talking to native server
By Waccoon in forum NetworkingReplies: 1Last Post: 12-17-2007, 11:13 AM -
Locale
By Java Tip in forum Java TipReplies: 0Last Post: 11-16-2007, 02:16 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks