Read and Edit Excel in GWT Client Code

2019-09-07 15:04发布

问题:

I have a GWT application with server and client code. I want to read and display an Excel (.xslx) file from the user in the GUI without passing it to the server. Is it possible to do this with the Apache POI or can't GWT compile all needed code from POI?

回答1:

On the client side you will only be able to use this packages: http://www.gwtproject.org/doc/latest/RefJreEmulation.html

You have to pass the excel to the server