0 Replies Latest reply on Dec 9, 2003 2:21 PM by vladchuk

    Resource loading/caching

    vladchuk

      From a webapp I need to load a configuration file from a classpath. For this I use the following call:
      .class.getResourceAsStream(path);

      This works fine but when the confuguration is modified while JBoss is running and the same call is made the old version of the configuration is loaded.
      It seems that the file is cached and the timestamp is not consulted on subsequent calls.

      Is this by desing or is it a bug? Any way to control this behavior?

      Thanks