如何整合碧玉和gwt? [英] How to integrate jasper and gwt?

查看:87
本文介绍了如何整合碧玉和gwt?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用gwt。如何将碧玉与gwt集成生成excel报告?整合的步骤是什么? Mine是一个具有gwt,spring,hibernate和maven的web应用程序。感谢。

解决方案

以下是我在应用程序中使用的步骤。

1)从此处下载 ireport软件


$ b 2)根据您的应用程序要求生成/设计 .jrxml 文件

3)将设计为 .jrxml 文件的副本添加到您的源资源目录中


$ b 4)添加 jasper报告maven插件到您的pom.xml。使用此插件,您可以将 .jrxml 文件编译为 .jasper 文件。 5)将jasper report jar依赖项添加到您的应用程序中,并生成报告给某个目录。 通过阅读jasper报告文件,您可以实现这一步。

6)提供一个链接以便在UI中下载该文件。



取决于您的申请要求,上述步骤可能会发生变化。


I am using gwt. How integrate jasper with gwt to generate excel report? What are the steps to integrate? Mine is a web application which has gwt, spring, hibernate and maven. Thanks.

解决方案

Below are the steps I have used in my application.

1) Download the ireport software from here

2) Generate/design a .jrxml file based on your application requirement

3) copy that designed .jrxml file to your source resources directory

4) Add the jasper reports maven plugin to your pom.xml. Using this plugin you can compile .jrxml file to .jasper file.

5) Add the jasper report jar dependency to your application and generate the report to some directory. By reading jasper report documents you can achieve this step.

6)Provide a link to download that file in UI.

Depends on your application requirements above steps may change.

这篇关于如何整合碧玉和gwt?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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