protected ModelAndView onSubmit(HttpServletRequest request,
HttpServletResponse response, Object command, BindException errors)
throws Exception {
Context dspaceContext = UIUtil.obtainContext(request);
ImportDTO object = (ImportDTO) command;
MultipartFile fileDTO = object.getFile();
// read folder from configuration and make dir
String path = ConfigurationManager
.getProperty(CrisConstants.CFG_MODULE,"researcherpage.file.import.path");
File dir = new File(path);
dir.mkdir();
try {
if (object.getModeXSD() != null) {
response.setContentType("application/xml;charset=UTF-8");
response.addHeader("Content-Disposition",
"attachment; filename=rp.xsd");
String nameXSD = "xsd-download-webuirequest.xsd";
File filexsd = new File(dir, nameXSD);