Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » How to use caching in BIRT Jsp Page(How to use caching in BIRT Jsp Page)
icon2.gif  How to use caching in BIRT Jsp Page [message #630084] Thu, 30 September 2010 15:24 Go to next message
Gaurav Sahni is currently offline Gaurav SahniFriend
Messages: 19
Registered: September 2010
Junior Member
Hi All,

I have created some reports using the BIRT Eclipse and now i want to publsih these report to server so i am using the birt jsp page which is using Birt tag library so how to set the caching in this jsp page and can we used this org.eclipse.birt.data.query.ResultBufferSize"
and if yes then how to use it
Re: How to use caching in BIRT Jsp Page [message #630124 is a reply to message #630084] Thu, 30 September 2010 17:04 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Before Calling the Jsp with the tag library you could call a page like
the following:

<%
java.lang.String teststr = "org.eclipse.birt.data.query.ResultBufferSize";
session.setAttribute( "AppContextKey", teststr );
java.lang.Integer intObj = 200;
session.setAttribute( "AppContextValue", intObj );
String redirectURL = "http://localhost:8080/WebViewer/taglib.jsp";
response.sendRedirect(redirectURL);
%>

You can also do this in any report in the beforeFactory script like:

importPackage(Packages.java.lang);
var memSize= new Integer(200);
reportContext.getAppContext().put("org.eclipse.birt.data.query.ResultBufferSize ",
memSize);



Jason

On 9/30/2010 11:24 AM, Gaurav Sahni wrote:
> Hi All,
>
> I have created some reports using the BIRT Eclipse and now i want to
> publsih these report to server so i am using the birt jsp page which is
> using Birt tag library so how to set the caching in this jsp page and
> can we used this org.eclipse.birt.data.query.ResultBufferSize"
> and if yes then how to use it
Previous Topic:birt HSQL
Next Topic:Updating Chart using a button click
Goto Forum:
  


Current Time: Thu Apr 25 10:09:12 GMT 2024

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

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

Back to the top