• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Opening files with .jnlp extension in IE 9 (Windows 7)

 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
reply
    Bookmark Topic Watch Topic
  • New Topic