Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to read a excel spread sheet from local drive to Dynpage

Hi,

I am trying to read an "ac.xls" file from local drive into a dynpage.

I am using POI (hssf)

InputStream fs1 = this.getClass().getClassLoader().getResourceAsStream(filename);

HSSFWorkbook wb1 = new HSSFWorkbook(fs1);

i got this from forums.

my question is where to place the excel file/any location? please clarify.

Not what you were looking for? View more on this topic or Ask a question