I have a java class that resides inside com.pappu.kumar package , inside my web-app (name=test). So the structure is something like :
Now in CreateFile.class , i try to create a file . What path should i give so that i can create the file in the "files" directory , i would like to use a way that works both on unix and windows. And if its not possible to create under "files" , whats the easiest way to create the file in some folder ??