英文:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论