|
|
|
Re: Can BIRT access the host name of the running TC Server? [message #755868 is a reply to message #755844] |
Wed, 09 November 2011 21:48 |
|
In this case:
reportContext.getHttpServletRequest().getServerName();
should work fine. Have yo tried it?
Jason
On 11/9/2011 2:24 PM, paula.mcdowell wrote:
> Thanks for your response, Jason.
>
> My report will be running in a web application. My end product will be a
> jar and a rptdesign to be included in the war.
> So let me ask the question differently. Is there a way BIRT can access
> the server name of its parent web application?
>
> For example:
> http://www.example.com/BIRTReport/frameset?__report=myreport.rptdesign
>
> The web application is BIRTReport. Is there a way to access
> "www.example.com" within my BIRT code? Either in the rptdesign or the
> event handlers? Ultimately I want to compare it to the "referer" cookie
> obtained from the client request.
>
> Thanks.
> Paula
|
|
|
Powered by
FUDForum. Page generated in 0.02968 seconds