Hi All,
I would like to opening a file at a
servlet. I just put the file name in the "FileInputStream" constructor and doesn't specify the path.
ex: FileInputStream in = new FileInputStream("test.cfg");
I use
Tomcat as my AP server. Where should I put the config file when I want to open a file without specifying its path? Thanks.
ps. I use "ROOT" as my webapp location
Best Regards
Jackson