title: How to open a file for reading in Apache Tomcat from Java library method
body: <p>I am using the Apache Tomcat server.  In a Java class in a library, I need to open a file to read it using getResourceAsStream().  Which directory should the file be in so it can be opened from the Java code, and what path should I use in the argument to getResourceAsStream()?</p>