首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

java web start 的相干配置

2012-12-18 
java web start 的相关配置部署五、把包放到服务器webapps目录中,签名、打keykeytool -genkey -keystore myk

java web start 的相关配置
部署

五、把包放到服务器webapps目录中,签名、打key

keytool -genkey -keystore mykeystore -alias jwstest1

jarsigner -keystore mykeystore jwstest.jar jwstest1



六、Jnlp文件Test.jnlp

<?xml version="1.0" encoding="UTF-8"?>

<jnlp spec="1.0+" codebase=http://localhost:8080/test //网站根目录

href="Test.jnlp">   //目标地址

       <information>

                 <title>HelloWorld</title>   //名称(可随意)

                     <vendor>Sun Microsoft Corporation</vendor>    //公司名(随意)

                     <homepage href=""/>

                      <description>HelloWorld Test Example for WebStart.</description>

              <offline-allowed />    //允许用户离线运行。应允许  

       </information>

      

       <resources>

              <j2se version="1.5+" />

              <jar href="Test.jar" />

       </resources>

      

       <application-desc main-/>  //运行的主类

      

       <security>

                  <all-permissions/>    //允许应用程序访问本地资源

            </security>

</jnlp>

热点排行