Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Setting multiple locales in JNLP

Posted on 2007-04-10
2
558 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Protect jar file - windows app 2 65
SHA2 certs for IIS AND Java? 2 113
Java class and jar 3 20
What browser will run Java? 7 46
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

808 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