J
juddy.gomez
Hello
I have a Bean witch contains this method to create a Folder in my
webapp ( I am working with eclipse )
public boolean createFolder(string path) throws IOException {
boolean action= false;
String cmd =path;
File fd= new File(cmd);
action = fd.mkdir();
return action;
}
when I call the method from a class which contains a main method this
works perfect, the folder is created. But when I invoke this method
from a Servlet the folder is not created. I could not see the error
mesage.
Could you help me??
thanks
I have a Bean witch contains this method to create a Folder in my
webapp ( I am working with eclipse )
public boolean createFolder(string path) throws IOException {
boolean action= false;
String cmd =path;
File fd= new File(cmd);
action = fd.mkdir();
return action;
}
when I call the method from a class which contains a main method this
works perfect, the folder is created. But when I invoke this method
from a Servlet the folder is not created. I could not see the error
mesage.
Could you help me??
thanks