public void init(ServletConfig config) throws ServletException {
super.init(config);
try {
String basePath = org.springframework.web.util.WebUtils.getRealPath(
this.getServletContext(), "/");
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}