Hi, I am using JExcel API to read in an excel file on upload. I had originally written it so that the uploaded .xls file is stored locally and then read. Now, the requirement has changed and I have to read it from a stream. Is there some way to use the JExcel API to do this? The com.oreilly servlet example that I got off google reads it line by line on the request and I would probably have to rewrite my whole code if it has to be done like that.
I have two sheets that I have to read from. Sample code: workbook = Workbook.getWorkbook(file); Sheet1 = workbook.getSheet(0); sheet2 =workbook.getSheet(1)