I studing to construct JNLP file with Netbeans from http://netbeans.org/kb/docs/java/javase-jws.html and I wish to upload JNLP file to server , but I am unsure JNLP file may use with tomcat or glassfish only, or may use with another server. And So I paste all file form dis folder during my project to www folder in apache appserv. however when I click Lunch button it show this code.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<jnlp href="launch.jnlp" spec="1.0+">
        <title>Basic Application Example</title>
        <vendor>Sun Microsystems Inc.</vendor>
        <homepage href="http://appframework.dev.java.net"/>
        <description>A simple java desktop application based on Swing Application Framework</description>
        <description kind="short">Basic Application Example</description>

    <update check="always"/>
        <j2se version="1.5+"/>
        <jar href="test_app.jar" main="true"/>

    <jar href="lib/appframework-1.0.3.jar"/>
<jar href="lib/swing-worker-1.1.jar"/>
<jar href="lib/gdata-calendar-2.0.jar"/>
<jar href="lib/gdata-client-1.0.jar"/>
    <application-desc main-class="test_app.Test_appApp">


I want to include the next records towards the apache httpd.conf

AddType application/x-java-jnlp-file .jnlp AddType application/x-java-archive .jar AddType application/x-java-archive-diff .jardiff

based on your os, this file is generally in /etc/apache2/http.conf