开发者

Browser downloads jnlp on Java Web Start. How to prevent it?

When I click on a link to "web start" my java application, browser downloads jnlp file which I should execute afterwards. Is there any way to force browser to execute jnlp right after the download completes, or event better, to make the whole process transparent, so user just confirms that he wants to launch the applicat开发者_如何学运维ion? Thanks.


All you can do is provide the correct MIME type which in a standard setup makes the browser automatically open the file with Java WebStart.

Apart from that you cannot control whether the file is opened or not. Most browsers even have an option which prevents automatically opening downloaded files.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜