wood burning stoves 2.0*
The moose likes JNLP and Web Start and the fly likes java web start parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "java web start parameters" Watch "java web start parameters" New topic
Author

java web start parameters

Bjorn Amkreutz
Greenhorn

Joined: Oct 15, 2004
Posts: 1
Hi all,

I have an existing java application. That app must be web based.
I use java web start.Have all done to be done.
Now I wanne send a parameter to that program.

JNLP FILE
<resources>
<property name="key" value="something"/>
</resources>

IN JAVA
public SimpleExample() {
String dummy = System.getProperty("key");
this.getContentPane().add(new Button(dummy));
this.show();
// TODO Auto-generated constructor stub
}
I did sign the jar file, but still the message:

Category: Security Error

access denied (java.util.PropertyPermission key read)

Anybody can help me. Is this the right thing to send parameters to my existing program?? So my problem is ,I need to know how correct sending these parameters.
Well thanks in advance,

Bjorn from Holland
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java web start parameters
 
Similar Threads
Two applications One jnlp file
Cannot find message resources ?
NullPointer Exception in Executing a Struts Program
Validation framework not working for login screen
Internationalization