Spec-Zone .ru
спецификации, руководства, описания, API
Trail: Deployment
Lesson: Java Web Start
Section: Deploying a Java Web Start Application
Setting Up a Web Server
Home Page > Deployment > Java Web Start

Setting Up a Web Server

You might need to configure your web server to handle Java Network Launch Protocol (JNLP) files. If the web server is not set up properly, the Java Web Start application will not launch when you click on the link to the JNLP file.

Configure the web server so that files with the .jnlp extension are set to the application/x-java-jnlp-file MIME type.

The specific steps to set up the JNLP MIME type will vary depending on the web server. As an example, to configure an Apache web server, you should add the following line to the mime.types file.

application/x-java-jnlp-file JNLP

For other web servers, check the documentation for instructions on setting MIME types.


Problems with the examples? Try Compiling and Running the Examples: FAQs.
Complaints? Compliments? Suggestions? Give us your feedback.

Previous page: Deploying a Java Web Start Application
Next page: Displaying a Customized Loading Progress Indicator