File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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