简体   繁体   English

Java Web Start显示“从下载的JNLP文件启动”

[英]Java Web Start shows “launched from downloaded JNLP file”

I have a similar issue to Java Web Start security dialogs with Java 7 update 51 我有一个与Java 7 update 51的Java Web Start安全对话框类似的问题

and

Java 7 update 51 - Prompts user confirmation message about Publisher name every time Java 7更新51-每次提示有关发布者名称的用户确认消息

My questions is Why are there multiple locations listed? 我的问题是,为什么列出多个位置? Second location being "Launched from downloaded JNLP file". 第二个位置是“从下载的JNLP文件启动”。

I don't always see this, only sometimes, and I'm not sure what's special that makes "Launched from downloaded JNLP file" to show up as a location. 我并不总是看到这种情况,只是有时,并且我不确定“从下载的JNLP文件启动”显示为位置的特殊之处。

I know I can include the "Application-Library-Allowable-Codebase" attribute in my jar manifest to get the security prompt with the checkbox, but I don't understand why the "Location" section of the security prompt and how it's determined 我知道我可以在jar清单中包含“ Application-Library-Allowable-Codebase”属性,以获取带有复选框的安全提示,但是我不明白为什么安全提示的“位置”部分及其确定方式

Thanks! 谢谢!

在此处输入图片说明

I think the reason for that is because your jnlp probably includes a link to another jnlp. 我认为其原因是因为您的jnlp可能包含指向另一个jnlp的链接。 Am I right? 我对吗?

So the prompt that says "Launched from downloaded JNLP file" means the above location does not belong to the jar resources of the jnlp file that the user clicked, but it belongs to some jar resources of a 2nd jnlp that the original jnlp points to and was dynamically downloaded. 因此,提示“从下载的JNLP文件中启动”的提示意味着上述位置不属于用户单击的jnlp文件的jar资源,而是属于原始jnlp指向的第二个jnlp的一些jar资源,并且已动态下载。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM