Hi,
I need to pass a folder (java.io.File) as a function parameter.
I tried to just declare the location of the folder, but it looks in SERVER_HOME (/home/user/tomcat).
So my next try is to inject a File (directory) which is located in WEB-INF/myFolder.
my first try failed:
<bean name="path" class="java.io.File">
<constructor-arg value="classpath:WEB-INF/myFolder" />
</bean>
But it looks for /home/user/tomcat/classpath:WEB-INF/myFolder
I've been messing around but I can't figure out how to do it.
Any help or advice would be great.
Thank you all!