![](/img/trans.png)
[英]How to call a servlet class file which displays a jasper report on the browser using Quartz Scheduler
[英]Schedule jasper report using quartz scheduler
我正在使用石英創建時間表並運行作業。 但是,我需要生成並發送Jasper報告中的一項工作。 我知道可以使用jasper服務器來安排報告,但是我已經安排在Java應用程序中創建了。 如何使用Java應用程序創建報告。
我通過鏈接閱讀-Jasper Report計划程序
簡而言之,如何要求jasper服務器創建報告並讓Crystal工作向給定的用戶發送電子郵件。
public class MyJob implements Job {
@Override
public void execute(JobExecutionContext context) throws JobExecutionException {
System.out.println("Context : " + context.toString());
//Can we create the jasper report here and then send using email, I have jasper server but I wanted to use the separate job to process the report and send.
}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.