简体   繁体   English

使用javascript中的Apache Poi解析Excel Sheet

[英]To Parse Excel Sheet using Apache Poi in javascript

Is it possible to parse excel sheet using Apache Poi in javascript?? 是否可以在JavaScript中使用Apache Poi解析Excel工作表?

I need to parse an excel sheet using apache poi and need to get the response as json object. 我需要使用apache poi解析一个Excel工作表,并需要将响应作为json对象获取。 I have tried the code that enclosed with the below link. 我尝试了以下链接随附的代码。

http://blog.ipsolns.co.uk/2007/09/11/reading-excel-using-javascript-and-apache-poi/ http://blog.ipsolns.co.uk/2007/09/11/reading-excel-using-javascript-and-apache-poi/

I have got this error Uncaught ReferenceError: Packages is not defined 我收到了此错误Uncaught ReferenceError:包未定义

Please anyone can help me to parse the excel sheet using javascript 请任何人都可以帮助我使用javascript解析Excel工作表

Is it absolutely necessary to use POI library? 使用POI库是否绝对必要? The library below does a fairly awesome job in parsing excel using Javascript. 下面的库在使用Javascript解析excel方面做得非常出色。

http://oss.sheetjs.com/js-xlsx/ http://oss.sheetjs.com/js-xlsx/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM