Data Connectivity
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Data Connectivity
Message Icon Topic: Crystal Interactive Viewer processHttpRequet Error Post Reply Post New Topic
Author Message
SBMH
Newbie
Newbie
Avatar

Joined: 30 Dec 2011
Online Status: Offline
Posts: 6
Quote SBMH Replybullet Topic: Crystal Interactive Viewer processHttpRequet Error
    Posted: 30 Dec 2011 at 10:54am
Dear all,

I need kind help regarding the integration of crystal interactive viewer with web application using servlet using weblogic 10.3

I am facing an error  when i run the following:

CODE:
--------
 CrystalReportInteractiveViewer viewer = new CrystalReportInteractiveViewer();

viewer.setOwnPage(true);

viewer.setReportSource(clientDoc.getReportSource());

viewer.processHttpRequest(request, response,
                              getServletConfig().getServletContext(), null);

the error is generated while processHttpRequest processing


ERROR:
--------

java.lang.IllegalStateException: strict servlet API: cannot call getWriter() aft
er getOutputStream()
        at weblogic.servlet.internal.ServletResponseImpl.getWriter(ServletRespon
seImpl.java:307)
        at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
        at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
        at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unkn
own Source)
        at webmodule.CrystalReportViewerServlet.viewCrystalReportHandler(Crystal
ReportViewerServlet.java:82)


help me as i am struck with this problem.


thanks,
Sbmh


IP IP Logged
SBMH
Newbie
Newbie
Avatar

Joined: 30 Dec 2011
Online Status: Offline
Posts: 6
Quote SBMH Replybullet Posted: 03 Jan 2012 at 6:52pm
Hi,
I am unable to figureout the problem, but i have choosen the alternative way by writing custom control for export option. instead of using crystal interactive veiwer Toolbar. In this way i have resolved the problem....
 
But in my mind the question is still about the problem.
 
Thanks
 
Sbmh
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.000 seconds.