This example does not use JnlpDownloadServlet. It uses a hardcoded JNLP file and is intended to illustrate the simplest possible way to deploy a Java Web Start application.

If you deploy this example on your own web server, make sure the codebase element in the JNLP file is correct.

<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://localhost:8080/app1">
    <information>
        <title>Pie</title>
        <vendor>Example Vendor</vendor>
    </information>
    <resources>
        <j2se version="1.2+"/>
        <jar href="pie.jar" main="true" />
    </resources>
    <application-desc/>
</jnlp>

Launch the example