Using a newer version of Apache POI in ColdFusion 10

扶醉桌前 提交于 2019-12-01 18:53:13

It is possible to use Mark Mandel's JavaLoader (https://github.com/markmandel/JavaLoader) to use a newer version of Apache POI with ColdFusion 10 without affecting CF's built in spreadsheet functionality.

I used version 3.11-beta2 of Apache POI because this does not depend on dom4j.jar which seems to be problematic.

I used JavaLoader instead of CF10's built-in ability to load JARs because this allows me to access ColdFusion's older version of Apache POI using createObject() whilst accessing the newer version stored in my webroot using the JavaLoader method server[application.JavaLoader].create().

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!