title: Unable to read excel after updation
body: <p>I am learning selenium webdriver and trying to read the excel using Apache POI lib with below snippet. It has run successfully but after updating the excel file. It does not read updated values or excel data. Always print previous content.</p>
  
  <p>public org.apache.poi.ss.usermodel.Sheet sheet;</p>
  
  <pre><code>public static FileInputStream ReadExcel;
  
  public void read_excel(String excel_file_path, String DataSheetName) throws Exception, IOException
  
  {
      try
      {
  
      ReadExcel=new FileInputStream(new File(excel_file_path));
  
          Workbook wp=WorkbookFactory.create(ReadExcel);
          sheet=wp.getSheet(DataSheetName);
          Iterator&lt;Row&gt; rowIterator=sheet.rowIterator();
  
          while(rowIterator.hasNext())
          {
  
              Row row=rowIterator.next();
              Iterator&lt;Cell&gt; cellIterator=row.cellIterator();
  
              while(cellIterator.hasNext())
              {
                  Cell cell=cellIterator.next();
                  String cellData=cell.getStringCellValue();
                  System.out.println(cellData);
              }
  
          }
          ReadExcel.close();
  
      }
  
      catch(Exception e)
      {
          e.printStackTrace();
  
      }
  </code></pre>