问题和练习:使用富 Internet 应用程序做更多事情
原文: https://docs.oracle.com/javase/tutorial/deployment/doingMoreWithRIA/QandE/questions.html
问题
- 对错:富 Internet 应用程序(RIA)可以通过在
"jnlp."前添加属性名称来设置安全属性。 - 对错:只有签名的 RIA 才能使用 JNLP API 访问客户端上的文件。
演习
在下面的 JNLP 文件中,添加一个名为
jnlp.foo的安全属性,并将其值设置为true。<?xml version="1.0" encoding="UTF-8"?><jnlp spec="1.0+" codebase="" href=""><information><title>Dynamic Tree Demo</title><vendor>Dynamic Team</vendor></information><resources><!-- Application Resources --><j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se" /><jar href="DynamicTreeDemo.jar" main="true" /></resources><applet-descname="Dynamic Tree Demo Applet"main-class="components.DynamicTreeApplet"width="300"height="300"></applet-desc><update check="background"/></jnlp>
