Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Connection Pool in Birt
Connection Pool in Birt [message #991186] Mon, 17 December 2012 16:16
Silver wang is currently offline Silver wangFriend
Messages: 3
Registered: December 2012
Junior Member
I am new to Birt so please pardon my question, I was able to replace the original datasource by doing below:

IRunAndRenderTask task = engine.createRunAndRenderTask(design);

Map<String, Object> appContext = task.getAppContext();
appContext.put("OdaJDBCDriverPassInConnection", setupJdbcConnection());
appContext.put("OdaJDBCDriverPassInConnectionCloseAfterUse", false);

HTMLRenderOption options = new HTMLRenderOption();
//Set ouptut location
//Set output format

//run the report and destroy the engine
//Note - If the program stays resident do not shutdown the Platform or the Engine;

I am wondering if I can display this html page or any output format in Birt viewer within a jsp page? Please advise. Your help is greatly appreciated. thx
Previous Topic:How to access report variable in masterpage
Next Topic:Generate report via web page link
Goto Forum:

Current Time: Mon Jan 30 16:12:42 GMT 2023

Powered by FUDForum. Page generated in 0.06158 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top