title: How to read an excel file contents on client side?
body: <p>From the JSP page, I need to browse excel file and after selecting file on system, I need to read that excel file contents and fill my form. </p>
  
  <p>Currently I have tried with below code but its only working in IE with some changes in IE internet options for ActiveXObject. Its not working in rest of the browsers.</p>
  
  <pre><code>&lt;script&gt;
      function mytest2() {
          var Excel;
          Excel = new ActiveXObject("Excel.Application"); 
          Excel.Visible = false;
          form1.my_textarea2.value = Excel.Workbooks.Open("C:/Documents and Settings/isadmin/Desktop/test.xlsx").ActiveSheet.Cells(1,1).Value;
          Excel.Quit();
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>Please suggest some solution so that it works in all browsers. </p>