如何在BIRT中在报告加载后异步调用方法

huangapple go评论89阅读模式
英文:

How to call methods asynchronously in BIRT after report loading

问题

我正在使用BIRT报表。一旦报表在浏览器中加载,我想要从Tomcat服务器异步地调用某些方法来后台检查会话状态(假设每隔10秒钟进行一次)。

在BIRT报表中是否可以发送后台异步请求?如果可以,我该如何实现?

我尝试在官方BIRT网站上查找关于异步请求的信息,但未找到相关内容。

英文:

I am working with BIRT reports. Once the report is loaded in browser I want to call some method asynchronously in background (from tomcat server) to check the session status (lets say after every 10 seconds).

Is it possible to send asynchronous requests in background in BIRT reporting? If yes how, I can do that?

I tried to find about asynchronous requests on official BIRT website, but no nothing found related to that.

答案1

得分: 1

短答案是“不”。但是,如果您在浏览器中,也许您可以在不同的窗口、iframe或其他地方对会话进行ping操作。

英文:

The short answer is "No".
But if you're in the browser, then maybe you can ping the session in a different window or iframe or whatever.

huangapple
  • 本文由 发表于 2020年9月10日 14:52:48
  • 转载请务必保留本文链接:https://go.coder-hub.com/63824242.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定