GeeCON Prague 2014*
The moose likes JNLP and Web Start and the fly likes A problem of JNLP file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "A problem of JNLP file" Watch "A problem of JNLP file" New topic
Author

A problem of JNLP file

Deng Haitao
Greenhorn

Joined: Sep 10, 2004
Posts: 1
Hi , everyone ,
I have a question when edit My JNLP file . The value of description element I declared are some Chinese characters.when I launch the Application by JWS ,I found the charater appear not correctly in JWS presention windows.
Is there some wrong in my JNLP file?
How should I encode my characters in THe file so that they appear correctly in JSW presention windows?
Thanks in advance for any help!!!

The JNLP file as follows:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp
spec="1.0+" codebase="http://localhost:8080/TSM1" href="HelloWorld.jnlp">
<information>
<title>HelloWorld</title>
<vendor>denght(If I declared with Chinese Character,the error happened. )</vendor>
<homepage href="http://192.168.0.15:8080/TSM1/index.html"/>
<description>Can I use a NON-US character here?(If I declared with Chinese Character,the error character appeared happened. )</description>
<description kind="short">example</description>
<icon href="images/draw.jpg"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.4+"/>
<jar href="HelloWorld.jar"/>
</resources>
<application-desc main-class="HelloWorld"/>
</jnlp>

[ September 11, 2004: Message edited by: Deng Haitao ]
[ September 12, 2004: Message edited by: Deng Haitao ]

NO PAYS,NO GAIN.
 
GeeCON Prague 2014
 
subject: A problem of JNLP file