Skip to main content



      Home
Home » Archived » BIRT » Accessing HttpRequest object and Cookies
Accessing HttpRequest object and Cookies [message #153762] Mon, 17 April 2006 03:22 Go to next message
Eclipse UserFriend
Originally posted by: hwilliam69.yahoo.com.sg

Hi,
In my report, I need to get access to the HttpRequest object to retrieve
some cookies. Could I know how I could acquire the existing HttpRequest
object?
Re: Accessing HttpRequest object and Cookies [message #153854 is a reply to message #153762] Mon, 17 April 2006 11:55 Go to previous messageGo to next message
Eclipse UserFriend
The following expression should give you access to the request:

reportContext.getHttpServletRequest()

(see: BIRT Report Scripting API Reference, Interface
org.eclipse.birt.report.engine.api.script.IReportContext)

I haven't try it myself. Can I you please give feedback whether this works
as you expected?

"William Hing" <hwilliam69@yahoo.com.sg> schrieb im Newsbeitrag
news:966abf9561d2e9af1b39b9da579e4bc5$1@www.eclipse.org...
> Hi,
> In my report, I need to get access to the HttpRequest object to retrieve
> some cookies. Could I know how I could acquire the existing HttpRequest
> object?
>
Re: Accessing HttpRequest object and Cookies [message #154208 is a reply to message #153854] Tue, 18 April 2006 21:57 Go to previous message
Eclipse UserFriend
Originally posted by: hwilliam69.yahoo.com.sg

Thank for the help. It works as expected.
Previous Topic:Localized Dinamic text
Next Topic:New Joint Data Set
Goto Forum:
  


Current Time: Fri May 09 18:32:25 EDT 2025

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

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

Back to the top