Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I get a Bad MIME type error when accessing the JNLP file?

bad Error file JNLP mime type
0
Posted

I get a Bad MIME type error when accessing the JNLP file?

0

Java Web Start 1.0 always downloads and uses the JNLP from the URL specified in the attribute, if the attribute is specified. The Web server must return the correct MIME type application/x-java-jnlp-file for that file. See the Developer’s Guide on how to configure your Web server to do this: http://java.sun.com/javase/technologies/desktop/javawebstart/docs/developersguide.h tml If the href attribute is not specified, the download does not happen and the JNLP file is not cached. Thus, you can overcome this by removing the href attribute. However, note that the user will not be able to create shortcuts (Windows-only) and that the application does not show up in the Application Manager.

0

Java Web Start 1.0 always downloads and uses the JNLP from the URL specified in the attribute, if the attribute is specified. The Web server must return the correct MIME type application/x-java-jnlp-file for that file. See the Developer’s Guide on how to configure your Web server to do this: http://java.sun.com/products/javawebstart/docs/developersguide.h tml If the href attribute is not specified, the download does not happen and the JNLP file is not cached. Thus, you can overcome this by removing the href attribute. However, note that the user will not be able to create shortcuts (Windows-only) and that the application does not show up in the Application Manager.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123