Reputation: 3798
Please let me know if we can get it via just configurations or maybe we can implement it without bit investment and security vulnerabilities.
What we need is to have something like web folder with directory listening (navigation) to being able to search, navigate into folder where file is located and download it without match effort...
Structure in a simple impl can be transparent to actual real directory accordingly to some local folder or mounted share via smb...
It may be not even spring, but at least java related technology.
Upvotes: 1
Views: 239
Reputation: 89
Maybe something like this
public void addResourceHandlers(ResourceHandlerRegistry registry) {
registry
.addResourceHandler("/resources/**")
.addResourceLocations("/resources/","classpath:/other-resources/");
}
Upvotes: 0