Proper MIME media type for JNLP files
When working with JNLP files, I've run across the MIME type
application/x-java-jnlp-file
However I am not sure it is right, because
MIME types in the x- namespace are considered experimental
and it seems odd to me for JNLP.
This is the advice direct from Oracle in Setting Up the Web Site:
Configure the Web server so that all files with the .jnlp file extension are set to the application/x-java-jnlp-file
MIME type.
Most Web browsers use the MIME type returned with the contents from the Web server to determine how to handle the particular content. The server must return application/x-java-jnlp-file
MIME type for JNLP files in order for Java Web Start to be invoked.
Each Web server has a specific way in which to add MIME types. For example, for the Apache Web server you must add the following line to the .mime.types configuration file:
application/x-java-jnlp-file JNLP
Check the documentation for the specifics of your Web server.
链接地址: http://www.djcxy.com/p/1278.html上一篇: 适用于TAR文件的MIME媒体类型
下一篇: 适用于JNLP文件的MIME媒体类型