자바·JSP

Apache Configuration for Java WebStart

미랭군 2018. 12. 14. 11:16

Apache Configuration for Java WebStart

Additional AddTypes required for Apache to send the correct Mime-Type for Java WebStart (jnlp) files.


httpd.conf

Add the following entries to the apache httpd.conf



AddType application/x-java-jnlp-file .jnlp

AddType application/x-java-archive .jar

AddType application/x-java-archive-diff .jardiff


Apache will then send the correct mime-type to the browser and therefore Java will be started when the jnlp file is clicked on.