I am trying to find a way to inject a file in Spring. How do I do it? I have tried this approach such as the following but does not work :
Code:<bean id="image" class="java.io.File"> <constructor-arg value="classpath:some/path/toimage/somename.gif"/> </bean>
This does not work. Any help?
thanks


Reply With Quote