Skip to main content



      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 11:24 Go to next message
Eclipse UserFriend
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 13:04 Go to previous message
Eclipse UserFriend
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: Tue Jul 22 18:49:32 EDT 2025

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

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

Back to the top