Re: Loading Properties File at start-up or in Application Scope

2005-10-30 Thread Wendy Smoak
From: "Rahul Joshi" <[EMAIL PROTECTED]> I can load the properties file in the class file but I want to load it as the Tomcat starts so that the properties file is not loaded again and again. Something like storing this in the application scope. How can I do this? Use a ServletContextListener: h

Loading Properties File at start-up or in Application Scope

2005-10-30 Thread Rahul Joshi
Hi, I have a simple JSP page which has a text box and a submit button. I have a properties file which I want to use in my Java class which is used by the JSP page. I can load the properties file in the class file but I want to load it as the Tomcat starts so that the properties file is not loade