• 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

auto open jnlp file on IE5 without open/save prompt

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How do you automatically download/open a JNLP file on an IE5 browser and some versions of IE6. The browser prompts me to Open Save or Cancel, and then after that prompts me to choose which program to run the JNLP file.

I already have javaws with j2se 1.5, and there is already an entry for the JNLP file opened by javaws in the Folder Option->File Types in Windows Control panel..
 
Ranch Hand
Posts: 1071
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe this is an issue with the mime type not being set on the server and not a problem with the browser.

I could be wrong though.
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
it definitly has to do with the MIME type, but is this only IE that is showing you the text of the jnlp?
 
Clarke Kent
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I noticed when I hosted the jnlp file on an embedded OC4J, the browser automatically runs the jnlp file, But in Tomcat, it still prompts me to save/open.

I looked up the web.xml file of Tomcat. the mime type entry for JNLP is there. What could be wrong with Tomcat?
 
That is a really big piece of pie for such a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic