This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
Consider Paul's rocket mass heater.
 
subject: java web start parameters
 
Similar Threads
Internationalization
Two applications One jnlp file
NullPointer Exception in Executing a Struts Program
Cannot find message resources ?
Validation framework not working for login screen