Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
HttpServletRequest from a ScriptedDataSource?
pbeltranl
<p>Hi,</p>
<p> </p>
<p>I need to access to the HttpServletRequest object of the servlet running the report and do it from a ScriptedDataSource. Is there any way to achieve it?</p>
<p> </p>
<p><span style="font-family:'courier new', courier, monospace;">User -> Birt Viewer -> Servlet -> .rptdesign -> script</span></p>
<p> </p>
<p>Thanks,</p>
<p>Pablo.</p>
<p> </p>
Find more posts tagged with
Comments
pbeltranl
<p>Solved by using ThreadLocal in the Servlet to attach the httpservletrequest object to the thread and get it from the script later....</p>