-main -webapp --resources ---folder -WEB-INF -test The classic structure of a web project. I need to process the files in the folder folder .
How I do: getClass().getClassLoader().getResource("folder") Then I make a file out of it, and so on. Tell me, what are the other ways to work with resources in spring?
@Value("classpath:<path to file>") private Resource cert;) - DimXenonfolderwas accessible in such a way - it should be put in WEB-INF / classes - Temka is also