How to keep properties values in session scope?
===

I am using spring. i have an externalized properties file. i am loading it as below.


  

     <context:property-placeholder location="file:///C:/some.properties"/>

Now how can i keep properties in session as key-value pair ?

i tried writing a listener which extends ServletContextListener.

    public class Sample implements ServletContextListener {
    @Override
    	public void contextInitialized(ServletContextEvent event) {
    //here i tried to get the values of properties file as below.
    InputStream stream = event.getServletContext().getResourceAsStream("C:\\some.properties");
    //But here stream is coming as null
    
    
    }
    
    }

Am i missing anything here?


Thanks!