jsp include WebViewer [message #163076] |
Fri, 19 May 2006 14:02  |
Eclipse User |
|
|
|
Originally posted by: barrerager.delsatgroup.com
I'm trying to include a report inside a jsp page in this way
<jsp:include
page=" /frameset?__report=report/test.rptdesign&__overwrite=tru e&sample=hello
world" flush="true"/>
as result I get a blank page. I've also tried with jsp:forward and then the
toolbar an the navigation bar fragments are displayed but no the report
content.
From my browser if I use
http://localhost:8080/mywebapp/frameset?__report=report/test .rptdesign&__ove
rwrite=true&sample=helloworld
it works.
I've also tried to include/forward the report within a servlet like the
example below and i get the same results
public class MyServlet extends javax.servlet.http.HttpServlet implements
javax.servlet.Servlet {
....
protected void doGet(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException {
....
ServletContext sc = getServletContext();
RequestDispatcher rd =
sc.getRequestDispatcher("/frameset?__report=report/test.rptdesign&__overwrit
e=true&sample=helloworld");
rd.include(request, response); //I get a blank page
//rd.forward(request, response);//i get the toolbar an navigation bar
Can anyone point what I'm doing wrong?
Thank you in advance.
I'm using
Eclipse 3.1.2
Tomcat 4.1.27-LE-jdk14
BIRT 2.0.1
Barrera, German
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02810 seconds