Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » How can I get HttpServletResponse in a birt report?
How can I get HttpServletResponse in a birt report? [message #364541] Thu, 07 August 2008 06:45
Eclipse UserFriend
Originally posted by: claire.yahoo.com.tw

Hi,

I would like to redirect to another page in initialize of a birt report.
But I can not get HttpServletResponse in birt, so I use "null" instead.
And I have wrote as follow:


var req = reportContext.getHttpServletRequest();
var dispatcher = req.getRequestDispatcher("http://www.yahoo.com");
dispatcher.forward(req, null);


But it gets an error message:java.lang.NullPointerException.

How can I get HttpServletResponse in initialize of a birt report?

Thanks.
Previous Topic:MarkerRange Z Order?
Next Topic:properties of pdf file
Goto Forum:
  


Current Time: Wed Apr 24 15:45:20 GMT 2024

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

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

Back to the top