I'm having trouble getting my
tomcat base directory set. I'm thinking it's a path issue but not sure.
I can't get my
servlet to read a text file in my tomcat directory. I've moved it every where I can think of to get it to read but it's not finding it.
So I did a
test and put a line of code in my servlet;
File dir = new File ("exam" + File.separator + "files");
dir.mkdir ();
It puts the new dir in Window/System32.
How do I get it to put it in my tomcat dir?