aspose file tools*
The moose likes Java in General and the fly likes Folder Creation On Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

Folder Creation On Server

Arpit Gadle
Ranch Hand

Joined: Dec 16, 2008
Posts: 69

Dear All,
I had created a web-application which allows a user to create a named folder with his/her choice on the server which works locally but when i deployed the war of it on the Godaddy it throws a exception as

Caught Exception: java.security.AccessControlException: access denied (java.io.FilePermission /var/chroot/home/content/b/r/i/bringlifeto/html/MyDemoDirApp/demodir/testdir write)

For your reference here is the code

index.jsp



UserDirDemo.java




As I know, the only way to create folder is java.io package.

Any help is appreciated

Thanks,

Arpit
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Did you not post this same question a few days ago?

The answer is the same now as it was then.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19720
    
  20

Indeed he did: here. Closing this one.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
wood burning stoves
 
subject: Folder Creation On Server