| Author |
Create folder
|
mirko74
Greenhorn
Joined: Mar 15, 2001
Posts: 5
|
|
Hello,
is it possible to create a folder structure says some temp folder in drive c:\folder1\subfolder using java web start technology?
Thank you
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 12871
|
|
|
Sure, it's just Java. The mkdir() and mkdirs() method of java.io.File will work.
|
 |
mirko74
Greenhorn
Joined: Mar 15, 2001
Posts: 5
|
|
|
sorry I didn't explain myself. I have a JNLP file, which launches a program and I was wondering if there was some easy way to create a folder by adding a few lines to the JNLP.
|
 |
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 12871
|
|
I don't understand. The JNLP file doesn't do anything, it just describes the application. You can read its specs for yourself and find there isn't anything about creating folders there.
But really I don't understand the requirement. What would you expect to happen, and when would you expect it to happen? Every time the application is downloaded? Every time the JNLP file is accessed, even if that doesn't result in a new download?
And why can't you just have your application create this folder?
|
 |
 |
|
|
subject: Create folder
|
|
|