Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes cant create directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "cant create directory" Watch "cant create directory" New topic
Author

cant create directory

Konrad Piersdorfer
Greenhorn

Joined: Nov 15, 2005
Posts: 2
inside a servlet i want to create a directory on a tomcat 4.1.30-server.

the logged result is always false and the folder is not created.
in the tomcat.policy-file i have the following entry:

the mod of the directory, where i want to create that directory in, is 777 (all permissions set).

am i having a wrong tomcat.policy? do i have to use a codebase?

regards,
konrad
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

And does the value of that variable "path" actually bear any relationship to the file permission you described there?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cant create directory
 
Similar Threads
IIS and TOMCAT
How to set up a relative path
cant create directory
Create a directory in a mapped location
create a file without directory