This example uses JnlpDownloadServlet in two simple ways. An
explicit timestamp for the application is specified at the beginning of the JNLP
file. Also, a simple substitution string is used for the codebase
URL, instead of a hardcoded value.
When a JNLP file is requested, JnlpDownloadServlet handles the
request, figures out the codebase URL, and substitutes it for
$$codebase before sending the JNLP file to the client.
TS: 2010-08-07 21:19:05
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="$$codebase">
<information>
<title>Pie</title>
<vendor>Example Vendor</vendor>
</information>
<resources>
<j2se version="1.2+"/>
<jar href="pie.jar" main="true" />
</resources>
<application-desc/>
</jnlp>