// Get uploaded file's content
if (getSession().getAttribute("fileexcel") instanceof byte[]) {
byte[] buffer = (byte[]) (getSession().getAttribute("fileexcel"));
// Initialize database with the uploaded file's content
FileExcelReader fer = new FileExcelReader(buffer, LocaleManager.getInstance(getSession()).getLocaleString());
fer.readFileExcel();
return true;
}
return false;
}