I'm trying to access a created folder by FileInputStream
, but Tomcat returned an exception.
java.io.FileNotFoundException:(directoy path) access denied.
Here's the code which creates the folder.
String dirname = "Myfolder";
File dir = new File( dirname );
dir.mkdirs();
My problem is that I cannot access this folder by InputStream.