Solved

Setting multiple locales in JNLP

Posted on 2007-04-10
2
551 Views
Last Modified: 2008-03-06
Hi,
I want to use the locale attribute in jnlp to restrict download of the jar files, but I need to specify 2 locales. zh_TW and zh_HK
so that only in  these two locales, Webstart would download the jar files.
You cannot set multiple values in one attribute, so how can I specify 2 locales? I don't want to create another jnlp file if possible.

<jnlp>
     <resource locale="zh_TW">
         <jar ..>
        <jar ...>


Thanks
Jamie

0
Comment
Question by:jamie_lynn
  • 2
2 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 18890694
You may be able to do this by having a 'scout'  WS app only load the rest of the app after checking the Locale
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 18976393
:-)
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This video teaches viewers about errors in exception handling.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now