Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

cant create directory  RSS feed

 
Konrad Piersdorfer
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 22374
42
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And does the value of that variable "path" actually bear any relationship to the file permission you described there?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!