Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-30-2008, 12:09 PM
Member
 
Join Date: Apr 2008
Posts: 3
prachi_goliwadekar is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-30-2008, 06:30 PM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: SW MO, USA
Posts: 1,490
Norm is on a distinguished road
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?
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 07-01-2008, 12:43 AM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: SW MO, USA
Posts: 1,490
Norm is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy a .swf file from server side to client using signed applet Imoracle Java Applets 2 10-05-2008 07:13 PM
Locale example Java Tip Java Tips 0 01-29-2008 10:04 AM
How ro change the locale of JVM ravi.ks007@hotmail.com Advanced Java 2 12-26-2007 07:17 AM
Socket refused, but applet talking to native server Waccoon Networking 1 12-17-2007 12:13 PM
Locale Java Tip Java Tips 0 11-16-2007 03:16 PM


All times are GMT +3. The time now is 10:46 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org