Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

cant create directory

 
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: 21318
32
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic