String realPath= ContextLoader.getCurrentWebApplicationContext().getServletContext().getRealPath("/WEB-INF/spring/config.properties") ;
Properties props=new Properties();
try {
props.load(new FileInputStream(realPath));
realPath=props.getProperty(Constantsw.UPLOAD_PATH);