Dear Experts,
I followed the tutorial for Cewolf on the website and was able to display sample charts(with hardcoded values) in a
J2ee application.
Now I want to fetch data values from the backend(SAP) and need access to HttpSession in the DataProducer class to be able to connect to SAP.
I understand the DataProducer is being invoked in
JSP using the CEWolf tag library.
<jsp:useBean id="pageViews4" class="com.test.model.CeWolfExample"/>
<cewolf:chart
id="verticalbar3d"
title="Consumption History"
type="verticalbar3d"
xaxislabel="Last 12 Months"
yaxislabel="Cost($)"
backgroundcolor="#FFFFFF"
plotbackgroundcolor="#EEFFE0">
<cewolf:data>
<cewolf:producer id="pageViews4"/>
</cewolf:data>
</cewolf:chart>
<cewolf:img chartid="verticalbar3d" renderer="cewolf" width="400" height="300"/>
Is there a way I can send HttpSession from JSP to my DatasetProducer class?
Without the HttpSession, I cannot access the ConnetionManager needed to connect to the backend.
Thanks,
Amandeep