You will recall that a JNLP file is downloaded from the server. So the server would have to generate the JNLP file and set the parameter appropriately.
Ket Nonting
Greenhorn
Joined: Aug 09, 2011
Posts: 20
posted
0
Thanks Paul,
Can you please elaborate a little more. I do not understand this.
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
posted
0
The JNLP could be generated by a JSP (or PHP) page which takes user input through an HTML form submit.
Ket Nonting
Greenhorn
Joined: Aug 09, 2011
Posts: 20
posted
0
Thanks Tim,
Here's my PHP file, which works fine for a normal applet:
Here the javascript to trigger a JNLP file
and the JNLP file
So how do make the JNLP file take string parameter? It would work just fine if I do it like this:
Tim Moores
Rancher
Joined: Sep 21, 2011
Posts: 2407
posted
0
I'm not sure what you're asking - where do you see the difference between the page with the explicit applet tag and the one with the JNLP applet? Both can easily be served by PHP, and would get the value of the "random" string in the same way, in whichever way that works.