I had a little problem setting up my Tomcat Project. In short, I'm working on a Dynamic Web Page project, but there seems to be some confusion about where I start the application from.
Running the following code
File f = new File(""); System.err.println(f.getAbsolutePath());
prints C:/Eclipse
where Eclipse starts. I usually expect this to be the output directory, but this time it is not.
My eclipse project is configured to have myProject / WebContent / WEB-INF / classes as the output folder
How to configure the desired directory? Right now I need to use absolute paths that will not work for all project members.
source share