My programming tips
<?php
header("x-java-jnlp-version-id: ".$version);
header("Content-type: application/x-java-jnlp-file");
//header("Content-Type: application/xml");
echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
?><jnlp spec="1.0+"
codebase="http://mia.foresightint.com/~etse/g3/ws/json/"
href="webstart.php">
<information>
<title>Tree Import</title>
<vendor>The Foresight Group</vendor>
<description>Tree Import</description>
<homepage href="http://www.foresightint.com/"/>
<description kind="short">Tree Import</description>
<offline-allowed/>
</information>
<resources>
<jar href="TreeImport.jar"/>
<jar href="poi.jar"/>
<j2se version="1.5+"
href="http://java.sun.com/products/autodl/j2se"/>
</resources>
<application-desc main-class="com.foresightint.importer.view.ApplicationFrame">
<argument>
<?php
echo "test3";
?>
</argument>
</application-desc>
</jnlp>