Internet Explorer 9 on Windows7 is not able to directly open and run a .jnlp file. It asks for the prompt "do you want to open or save xxx.jnlp from <host name>" every time and does not give an option to either Run the file or "remember to do this for this file extension always".
Firefox seems to work. First time it asks for a prompt to open and there is a check box which will allow us to configure the setting to always open by default.
We have a servlet that dynamically generates a JNLP and writes the contents to the response. We set the content type to "application/x-java-jnlp-file".
It works in IE7 and IE8. But doesn't work in IE 9. (Some recent updates to windows has caused IE 8 also not to work)
I verified that the file extension .jnlp is associated to "javaws". if the file is saved and double clicked, it launches the application.
Is there any setting in IE using which we could always run this MIME type instead of open/save prompt or is there anything that needs to be set in the JNLP Syntax?