Where should my property files be placed under Windows using Tomcat 3.1 such that they can be located by my beans?

Vic Timmons

I've been having this problem a lot lately too. If you look inside of the tomcat.properties file in the /path/to/tomcat/conf/ directory,there will be a section devoted to assigning the variables wrapper.path and wrapper.classpath

I placed my properties files into a directory and then added the directory to the classpath variable. You do add directories differently depending on whether you are using UNIX or Windows. So, read the comments before those variables and you are good to go. Make sure you restart Tomcat in order for the changes to take.

Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact