posted 14 years ago
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