a question about how to set the relative path in servlet

2003-09-24 02:53:09 AM
I use the tomcat 3.3 as web server, and set up my web application "A",
the root directory is "B", B includes the file "C.txt", if I try to
refer file "C.txt" in my servlet, how to set the path in my java file.
I appreciate for any help