2012-04-05 19 views
0
<?xml version="1.0" encoding="UTF-8"?> 
<jnlp spec="1.0+" 
     codebase="**http://10.177.213.120:8080/Sample/**" href="sample-webstart.jnlp"> 
    <information> 
     <title>Sample Screen</title> 
     <vendor>John Doe</vendor> 
    </information> 
    <resources> 
     <!-- Application Resources --> 
     <j2se version="1.6+" 
       href="http://java.sun.com/products/autodl/j2se"/> 
     <jar href="Sample.jar" main="true" /> 

    </resources> 

    <security> 
     <all-permissions /> 
    </security> 

    <application-desc 
     name="Screen" 
     main-class="script.ScriptFrame"> 
    </application-desc> 
    <update check="always"/> 
</jnlp> 

このcodebase属性は、full-ipを使用せずにこのjnlpを動作させることができません。私は、その相対的なものを作るか、それを動的に変更する方法がありますか?唯一組込みアプレットのJNLP相対アドレスからjarをロードする

答えて

1

私はその相対を作ることができる方法はあります..

です。それを動的に変更します。

確かに、JNLPサーブレットがコードベースを動的に埋め込むか、わずかな調整が可能です。

関連する問題