In my UI, user will click on browse and select one excel file and on click of import it comes to Action Class where I have hardcoded the file location like this
workbook = Workbook.getWorkbook(new File("D:/Docs/MNC/document.xls"));
Sheet sheet = workbook.getSheet("Sheet");
I just want once the user browse and select the excel on click of import it should come to action class for reading and retrieving data from excel, how can I get the file for reading on click of import?