I am working in an e-commercial application in Spring MVC and Hibernate, where I need to store a number of images.
I want to save the images on a file system (on the server itself to reduce load on the database). My doubt is where exactly I should save images in my project?
As I have been through some blogs where it was mentioned that images should not be saved in folder with in war
file as it can lead to problems when the next version of the app is released (to backup all images and again place them manually)
Please let me know where exactly I need to save images and how to get that folder path in our java class.