views:

25

answers:

1

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 application? Thanks.

+1  A: 

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.

Moritz