I dont have log4j. There is nothing in the console. Help! Thanks,
Veena On Mon, Oct 26, 2009 at 3:41 PM, @lan Williamson <[email protected]>wrote: > what is the exception? > > the clue is usually in the exception message > > > veena pandit wrote: > >> Can someone tell me why this doesn;t work? I am trying to open an >> existing >> file. >> >> >> String path = "c://downloads//" + "test.xls"; >> >> response.setHeader("Content-disposition", "inline;filename="+path); >> >> // HSSFWorkbook wb = new HSSFWorkbook(); >> >> InputStream inp = *new* FileInputStream(path); >> >> hssfWorkBook = *new* HSSFWorkbook(inp); >> >> Should this not open an existing xls file? >> >> >> >> Thanks, >> >> >> >> Veena >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
