问题与练习:利用丰富的 Internet 应用程序做更多的事情
Questions
-
是非题:富 Internet 应用程序(RIA)可以通过在属性名称前加上
"jnlp."
来设置安全属性。 -
是非题:只有签名的 RIA 才能使用 JNLP API 访问 Client 端上的文件。
Exercises
- 在以下 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-desc
name="Dynamic Tree Demo Applet"
main-class="components.DynamicTreeApplet"
width="300"
height="300">
</applet-desc>
<update check="background"/>
</jnlp>