Hi, I am working on a small project and need your help in this.
I have a java program in which I read and write in a file that is located in the current folder. Now I have written a few servlets and trying to use the previous code along with servlets. Tomcat is searching for the file in its bin folder and giving FileNotFoundException. If I use my java code without the servlet it is checking for the file in current folder (which is my requirment). I want to ensure that when I use my java code along with servlets, it should read and write in the file from current folder(Project folder in tomcat's webapps). I am not using any IDE, the code is written in Notepad and being executed from CommandLine. I have spent long time on Internet to find the resolution but in vain. Request to help me with this situation . Hoping for a positive reply. Thanks for in advance for all the help. Regards, Hyder. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org