Writing to Excel File
Dear friends,
I have to write to an excel file but i am unable to do so. The following is the code fragment:
HSSFWorkbook wb =new HSSFWorkbook();
FileOutputStream fileOut =new FileOutputStream("C:\\\\Output.xls");
wb.write(fileOut);
HSSFSheet sheet = wb.createSheet();
HSSFRow row= sheet.createRow((short)0);
HSSFCell cell= row.createCell((short)0);
cell.setCellValue("Hi");
fileOut.close();
Could somebody tell me the reason behind it?

