title: How to get the relative path in spring controller to get resources
body: <p>in my project my file dir is like this  -->projectname  ->src  ->WebContent  ->images  ->WEB-INF      I am using above file path. but I am getting error "The system cannot find the path specified". I want to get the image from the "images" folder. please help me to get the relative path of images folder in Controller. I am using the code <code>File newFile = new File("/./images/userimages/"+fileName);</code>.</p>