views:

755

answers:

2

Can I launch a Java WebStart application with a set of parameters just like an applet is configured with the <param> tags ?

Thanks

+1  A: 

Yeah you can, the following shows an example:

<application-desc main-class="my.main.class">
    <argument>-user=bob</argument>
    <argument>-pass=8jkaiuasu</argument>
</application>

Showing you passing the arguments "-user=bob" and "-pass=8jkaiuasu" to the application. Arguments are picked up in the standard way.

MrWiggles
+1  A: 

Yes, check out the JNLP Tag reference

Tim Büthe