This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
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 folder, 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
 
Consider Paul's rocket mass heater.
 
subject: cant create directory
 
Similar Threads
create folder on remote system
Problem with creating a file in the current directory and with the current time stamp
cant create directory
How to set up a relative path
How to set folder permissoins