为什么JSP导出为excel,word后丢失了格式?

为什么JSP导出为excel,word后丢失了格式? 打开xls, doc,只能看到 一堆HTML源码?

答曰:JSP里必须要有至少一个<table>,哪怕这个标签里没有实际内容

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.