Hi sorry if this has been answered before but I can't find the solution anywhere. I wondering what the best way to inject a java.io.File object into a bean. The file is actually going to be an MS-Word document template so I'm not talking about a spring config file or property file, basically a file I read as a byte array.
Just wondeing the best way to go about this in a web app as I know there's sometimes issues reading a file resource via the ServletContext.
Thx in advance,
Dave.


Reply With Quote