users@glassfish.java.net

Re: Set system properties withing application client (ACC) + JNLP

From: <glassfish_at_javadesktop.org>
Date: Tue, 12 Jan 2010 13:23:55 PST

I think this will meet your needs... The launching URL can include one or more query string elements of the form

prop=propertyName=propertyValue

and the specified properties will be set using <property> elements in the generated JNLP document.

A long-standing request for enhancement has been to allow developers an easy way to influence and customize the generation of the JNLP. We are not there yet, but in the meantime this query string technique should work, although it will make your launch URLs longer.

- Tim
[Message sent by forum member 'tjquinn' (timothy.quinn_at_sun.com)]

http://forums.java.net/jive/thread.jspa?messageID=380444