I have a bean that has a property of type File
. I want that property to end up pointing to a file under WEB-INF.
It seems to me that the ServletContextResourceLoader
should have that job, somehow, but nothing I try seems to do the job.
I'm trying to avoid resorting to something like this in the Java code.