Hi
After looking here: http://static.springsource.org/sprin...resources.html
I see this is possible in section 4.7.2 for loading applicationContext but is there anything I can do for regular resources?
I have one json file on the classpath that changes frequently and rather than hardcode the path I am looking for something more flexible.
Ideally I would like something like this:
WebApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContex t(servletContext);
Resource r = ctx.getResource("WEB-INF/classes/*.json");
Any ideas?
Thanks.


Reply With Quote