Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes Directory Creation On Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Directory Creation On Server" Watch "Directory Creation On Server" New topic
Author

Directory Creation On Server

vikas malviya
Greenhorn

Joined: Aug 06, 2009
Posts: 14
The thing deployed application does is, it allows the user of the web-app to create a folder on the server with a name of his/her choice and upload his/her files into that folder. Here is what I am getting as Exception

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

Can any body explain me this issue and provide me a correct way to implement it.

Regards,
Vikas Malviya
Smitesh Shinde
Ranch Hand

Joined: Feb 16, 2008
Posts: 45

Vikas,
Firstly look out if you have the write permissions for the folder you are trying to upload into
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Directory Creation On Server
 
Similar Threads
updateing
MDB Deployment
Uploading J2ME App To Mobile Phone
Partner Application
how to delete imap folder with javamail