I am trying to launch applet using JNLP. I want to pass some parameter dynamically to applet. My JNLP file looks like
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://localhost:8080/WebAppTest/jar/" href="">
<information>
<title>JNLP Test</title>
<vendor>Java</vendor>
</information>
<resources>
<!-- Application Resources -->
<j2se version="1.5+" />
<jar href="test.jar" main="true" />
</resources>
<security>
<all-permissions/>
</security>
<applet-desc
name="Test Applet"
main-class="com.test.TestApplet.class"
width="100"
height="30">
<param name="testStr" value="something" />
</applet-desc>
<update check="background"/>
</jnlp>
I want to set testStr value dynamically.