my dog learned polymorphism*
The moose likes JNLP and Web Start and the fly likes auto open jnlp file on IE5 without open/save prompt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "auto open jnlp file on IE5 without open/save prompt" Watch "auto open jnlp file on IE5 without open/save prompt" New topic
Author

auto open jnlp file on IE5 without open/save prompt

Clarke Kent
Greenhorn

Joined: Dec 19, 2005
Posts: 14
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

Joined: Dec 29, 2004
Posts: 1071
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

Joined: Jan 26, 2006
Posts: 27
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

Joined: Dec 19, 2005
Posts: 14
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: auto open jnlp file on IE5 without open/save prompt