<legend id='8eggL'><style id='8eggL'><dir id='8eggL'><q id='8eggL'></q></dir></style></legend>
  • <i id='8eggL'><tr id='8eggL'><dt id='8eggL'><q id='8eggL'><span id='8eggL'><b id='8eggL'><form id='8eggL'><ins id='8eggL'></ins><ul id='8eggL'></ul><sub id='8eggL'></sub></form><legend id='8eggL'></legend><bdo id='8eggL'><pre id='8eggL'><center id='8eggL'></center></pre></bdo></b><th id='8eggL'></th></span></q></dt></tr></i><div id='8eggL'><tfoot id='8eggL'></tfoot><dl id='8eggL'><fieldset id='8eggL'></fieldset></dl></div>

  • <tfoot id='8eggL'></tfoot>

      <small id='8eggL'></small><noframes id='8eggL'>

        <bdo id='8eggL'></bdo><ul id='8eggL'></ul>
      1. java - 如何在java strust2中将jsp上显示的表格导出为pdf

        How to export table displayed on jsp to pdf in java strust2(java - 如何在java strust2中将jsp上显示的表格导出为pdf)
      2. <legend id='8qTYb'><style id='8qTYb'><dir id='8qTYb'><q id='8qTYb'></q></dir></style></legend>
          <tbody id='8qTYb'></tbody>
        <tfoot id='8qTYb'></tfoot>

          <bdo id='8qTYb'></bdo><ul id='8qTYb'></ul>

                  <small id='8qTYb'></small><noframes id='8qTYb'>

                  <i id='8qTYb'><tr id='8qTYb'><dt id='8qTYb'><q id='8qTYb'><span id='8qTYb'><b id='8qTYb'><form id='8qTYb'><ins id='8qTYb'></ins><ul id='8qTYb'></ul><sub id='8qTYb'></sub></form><legend id='8qTYb'></legend><bdo id='8qTYb'><pre id='8qTYb'><center id='8qTYb'></center></pre></bdo></b><th id='8qTYb'></th></span></q></dt></tr></i><div id='8qTYb'><tfoot id='8qTYb'></tfoot><dl id='8qTYb'><fieldset id='8qTYb'></fieldset></dl></div>

                  本文介绍了java - 如何在java strust2中将jsp上显示的表格导出为pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  这是我以表格格式显示的数据.我想在不使用struts2的显示标签库的情况下以PDF格式显示.

                  This is my data display in table format. I want to show as it is in PDF without using display tag library of struts2.

                  <table border="1" align="center" style="border-color: #CCCCCC; border-width: 1px; border-style: None; width: 1320px; border-collapse: collapse;" id="tablepaging">
                      <tbody>
                          <tr>
                              <td>Leave ID</td>
                              <td>FROM DATE</td>
                              <td>TO DATE</td>
                              <td>DAYS REQUESTED</td>
                              <td>APPROVER</td>
                              <td>NOTES</td>
                              <td>REMARK</td>
                              <td>IS PLANNED</td>
                              <td>REASON</td>
                          </tr>
                          <tr>
                              <td>270</td>
                              <td>12/27/12</td>
                              <td>12/29/12</td>
                              <td>2</td>
                              <td>Sagar</td>
                              <td>s</td>
                              <td>s</td>
                              <td>true</td>
                              <td>s</td>
                              <td>
                                  <a href="/HRIS_Updated/cancelRequest.action;jsessionid=A2313340A50DD2DAB054714BF65AB08B?leaveId=270" id="submitinvoice;jsessionid=A2313340A50DD2DAB054714BF65AB08B_">Cancel</a>
                              </td>
                              <td>
                                  <a href="/HRIS_Updated/requestHistory.action;jsessionid=A2313340A50DD2DAB054714BF65AB08B?leaveId=270" id="submitinvoice;jsessionid=A2313340A50DD2DAB054714BF65AB08B_">History</a>
                              </td>
                          </tr>
                      </tbody>
                  </table>
                  

                  是否可以使用 javascript 或 jquery?

                  Is it be possible with javascript or jquery?

                  请帮我提供一些代码,我已经在 Google 上搜索了几天,但一无所获.

                  Please help me with some code I have googled it for a few days but get nothing.

                  推荐答案

                  在jsp上使用显示表可以很容易的将其转换为*pdf以及.csv,.excel等,这是示例代码;

                  Using display table on jsp would be quite easire to convert it to *pdf along with .csv,.excel and son on,Here is the sample code ;

                  <display:table id="data" name="${questions}" requestURI="" pagesize="10" export="true" >
                      <display:column property="label" title="Question" sortable="true"/>
                      <display:column title="Graph Analysis"> <img src="${imagePath}${reportData.clientName}/${data.label}.png"/></display:column>
                      <display:setProperty name="export.pdf" value="true" />
                  </display:table> 
                  

                  这篇关于java - 如何在java strust2中将jsp上显示的表格导出为pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)
                  How to make a report page direction to change to quot;rtlquot;?(如何使报表页面方向更改为“rtl?)
                  Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)
                  Is there any way to detect an RTL language in Java?(有没有办法在 Java 中检测 RTL 语言?)
                  How to load resource bundle messages from DB in Java?(如何在 Java 中从 DB 加载资源包消息?)
                  How do I change the default locale settings in Java to make them consistent?(如何更改 Java 中的默认语言环境设置以使其保持一致?)
                1. <tfoot id='40ucy'></tfoot>
                    <tbody id='40ucy'></tbody>
                  <i id='40ucy'><tr id='40ucy'><dt id='40ucy'><q id='40ucy'><span id='40ucy'><b id='40ucy'><form id='40ucy'><ins id='40ucy'></ins><ul id='40ucy'></ul><sub id='40ucy'></sub></form><legend id='40ucy'></legend><bdo id='40ucy'><pre id='40ucy'><center id='40ucy'></center></pre></bdo></b><th id='40ucy'></th></span></q></dt></tr></i><div id='40ucy'><tfoot id='40ucy'></tfoot><dl id='40ucy'><fieldset id='40ucy'></fieldset></dl></div>
                  <legend id='40ucy'><style id='40ucy'><dir id='40ucy'><q id='40ucy'></q></dir></style></legend>
                  • <bdo id='40ucy'></bdo><ul id='40ucy'></ul>

                        <small id='40ucy'></small><noframes id='40ucy'>