不使用POI api阅读excel表 [英] Read excel sheet without using POI api

查看:43
本文介绍了不使用POI api阅读excel表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个紧急需求.从excel表中读取数据.是否有任何程序可以在不使用 apache poi api 的情况下从 excel 表中读取数据.我必须只使用支柱.

I am having an urgent requirement. Reading data from excel sheet. Is there any procedure to read data from excel sheet without using apache poi api. i have to use only struts.

谢谢你,维普尔库马尔.

Thanking you, Vipul Kumar.

推荐答案

您只需要使用 Struts"是什么意思?如果这意味着您不能使用任何其他库(我希望它不会),那么您只有一种方法:自己实现一个 Excel 解析器.

What do you mean you "only have to use Struts"? If that means you cannot use any other library (and I hope it doesn't), you only have one way: implement an Excel parser yourself.

不过,我强烈建议您不要这样做.为什么要重新发明轮子?

I strongly advise you against it, though. Why would you want to reinvent the wheel?

如果没有,那么有几个替代方案可以帮助您:

If not, then there are a couple of alternatives to help you:

  1. Apache 兴趣点
  2. JExcelApi

这篇关于不使用POI api阅读excel表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆