• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

auto open jnlp file on IE5 without open/save prompt

 
Clarke Kent
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • 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..
 
Steven Bell
Ranch Hand
Posts: 1071
  • Mark post as helpful
  • send pies
  • 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.
 
Ben Harrison
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • 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
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic