I am using BIRT2.2 for crosstab. As for previous versions, if I put the event handler class in /WEB-INF/classes, they work fine. However, they donnot act in version2.2. It is a bug.
The way is to add following code in the servlet (maybe in BIRT engine):
The way is to add following code in the servlet (maybe in BIRT engine):
engine.getConfig().getAppContext().put(EngineConstants.APPCONTEXT_CLASSLOADER_KEY,
ReportEngine.class.getClassLoader())
本文讨论了使用BIRT 2.2版本时遇到的一个问题:事件处理器类无法正常工作。作者发现将特定配置代码添加到Servlet或BIRT引擎中可以解决这一问题,并提供了参考链接。

461

被折叠的 条评论
为什么被折叠?



