The moose likes I/O and Streams and the fly likes Error creating directories Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Error creating directories" Watch "Error creating directories" New topic

Error creating directories

Syed Hussain
Ranch Hand

Joined: Feb 06, 2001
Posts: 55
I am calling method from a jsp deployed locally on my Windows machine and its working fine, but when I call this method from the same jsp deployed on a Linux machine it is returning false.
Why is it not able to create directories? Is this a file system security issue ?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852

Moving to the I/O Forum.

[Asking smart questions] [About Bear] [Books by Bear]
Stefan Wagner
Ranch Hand

Joined: Jun 02, 2003
Posts: 1923

Do you get an exception?
What is it saying?
You need write-permissions for that directory, of course.
Syed Hussain
Ranch Hand

Joined: Feb 06, 2001
Posts: 55
I do not get any exceptions. It is simply returning false.
I agree. Here's the link:
subject: Error creating directories
It's not a secret anymore!