InputStream stream = file.getInputStream();
String applicationId = (String) request.getSession().getAttribute(ConsoleCst.APPLICATION_ID);
Application application = applicationService.get(applicationId,(Collection)request.getSession().getAttribute(ConsoleCst.APPLICATIONS_SESSION_BEAN));
mappingService.importApplicationConfig(application,stream);
stream.close();
file.destroy();
request.setAttribute("retUpload","true");
request.getSession().setAttribute(ConsoleCst.IS_APPLICATION_MODIFIED,ConsoleCst.APPLICATION_MODIFIED);
return mapping.findForward("index");
}
}