Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Please Help - This is Most Urgent

Balaji SS
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to export Crystal Report to Excel format in my JSP...
It works for PDF, RTF, MSWord formats, but when I'm trying to do the same for Excel - I am getting "Invalid post back event : {0}" message coming from
Can not understand what I am doing wrong... Please, help! Thanks!
This is my JSP code:
<%@ page
import="com.crystaldecisions.reports.reportengineinterface.*,*,*,*,*" %>

ReportExportControl exportControl = new ReportExportControl();

IReportSourceFactory2 rptSrcFactory = new JPEReportSourceFactory();
"ReportForTst.rpt", request.getLocale()));

ExportOptions exportOptions = new ExportOptions();

ExcelExportFormatOptions xlexpopts = new ExcelExportFormatOptions();

exportControl.processHttpRequest(request, response, application, null);

Christophe Verré
Posts: 14691
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe not supported. Read this:
Ben Souther
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Balaji SS,
Welcome to JavaRanch!

We're pleased to have you here with us in the JSP forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

Initials can be used for the first name but the last name must be spelled out.

You can change it here

In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here.
In particular, please see

Using "Urgent" in your subject line almost always results in getting slower answers.

Again, welcome to JavaRanch and good luck with your question.
[ July 10, 2006: Message edited by: Ben Souther ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic