The
Struts application.properties file in my web application works OKay.
I have another file called storageDirectory.properties, which has one line:
I set my classpath to C:\jakarta-tomcat-5.0.27\webapps\AppName\WEB-INF\src\java
One of my class in the C:\jakarta-tomcat-5.0.27\webapps\AppName\WEB-INF\src\java\org\OrganizationName\content directory tries to read this storageDirectory.properties file:
I put this storageDirectory.properties in the
C:\jakarta-tomcat-5.0.27\webapps\AppName\WEB-INF\src\java directory.
I then put this storageDirectory.properties in the
C:\jakarta-tomcat-5.0.27\webapps\AppName\WEB-INF\src\java\resources directory.
No matter where I put this properties file, I get this runtime error message:
java.io.FileNotFoundException: storageDirectory.properties (The system cannot find the file specified)
And it points to this statement: