|
Re: How to use caching in BIRT Jsp Page [message #630124 is a reply to message #630084] |
Thu, 30 September 2010 17:04 |
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03462 seconds