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.
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.
Joined: Mar 22, 2005
The usual approach would be set the pageViews4 object as a request attribute, but I think a session attribute would work just as well.
The HttpSession is accessible in the servlet (or Action class, or wherever you create the DatasetProducer class), so whatever the connection between HttpSession and ConnetionManager is, it should be satisfiable (maybe you can elaborate on that, as I'm not sure I understand).