T ABLE B.1 Continued
JNLP Root Element
The jnlp element is the root element in JNLP files. It can have the following attributes:
• spec : Specifies the version.
• codebase : Specifies the location of the root of all the relative external resources used in
the JNLP file. An example of a relative external resource is jnlp/resources.jar .
The information element lists all the information needed by the JNLP Client to manage the
launched application regarding the OS and/or the end-user.
Its only attribute, locale ,specifies the Locales (separated by a space) that should be in use on
the client platform in order to consider the data in that information element. If the current
Locale doesn't match any of the Locales specified in this attribute, all the information ele-
ment data is ignored. Locale definitions and matching are standard Java. For details, have a
look at the Java internationalization trial tutorial at http://java.sun.com/docs/books/
All the data contained in an information element without a locale attribute is con-
sidered to be locale-independent. Always put a locale-independent information ele-
ment first, in order to supply default values. Then, use locale-specific information
elements for the various languages supported by the application.