Lancé du jnlp dans du php
Bonjour!
J'aimerais lancé un jnlp dans un php et du html, mais je n'arrive pas a saisir comment lancé le tout ( un peu débutant en php )
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
<html>
<head>
<title>Mon Logiciel</title>
</head>
<body>
Essai de JNLP Dynamique
<?php
$username= "M";
$filepath = str_replace(" ", "%20", $_REQUEST['filepath']);
$ref = "http://192.168.16.143/essai.php?filepath=". $filepath;
$ior = "http://192.168.16.143/orb/pep/naming-service.ior";
?>
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://192.168.16.143" href="<?php echo $ref;?>">
<application-desc main-class="com.pep.Pep">
<argument>-classpath</argument>
<argument>-ior</argument>
<argument><?= $ior ?></argument>
<argument>-expert</argument>
</application-desc>
</jnlp>
<a href="logiciel.jnlp">PROG</a>
</body>
</html> |
Quelqu'un sait comment faire pour faire comprendre au fichier que le jnlp qu'il doit lancé est a l'interieur meme du fichier?
MErci!