Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

"Do you want to run this application ?" asked when a param is changed

 
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

If a param value in the JNLP file is changed, it asks on each start "Do you want to run this application ?".
Even if "Do not show this again for this app from the publisher above" is checked, it asks this each time.

I read Signing JNLP file with dynamic arguments and JDK-8199731 "Checkbox "do not show this again for apps from the publisher and location above" not working" but can not make it to work.

It seems the jnlp.secure.argument thing only works for changes in <argument> elements, but not in <param> elements that are used for <applet-desc>.

So, does anyone know how to pass a dynamic parameter to an applet started by JNLP file, without asking the user each time for approval?

I should work on Java 8u171 (or later).

Regards,
David
 
David Balažic
Ranch Hand
Posts: 98
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found it.

For applets, this syntax must be used:
 
Bartender
Posts: 3323
86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for posting the solution
 
I love a woman who dresses in stainless steel ... and carries tiny ads:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic