This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python 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: 22185
38
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!