GeeCON Prague 2014*
The moose likes Other Open Source Projects and the fly likes Jasper Reports getting resubmitted to a servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Jasper Reports getting resubmitted to a servlet" Watch "Jasper Reports getting resubmitted to a servlet" New topic
Author

Jasper Reports getting resubmitted to a servlet

Mike Firkser
Ranch Hand

Joined: Oct 21, 2003
Posts: 247

In my web application, I'm experimenting with Jasper Reports. In the scenario, I call a servlet, which will run the specific report. When I run a report with .pdf or .xls output, everything is fine. But when I run a report with a .rtf format, after I close the report output, it seems the servlet is recalled with no parameters, and eventually a NullPointerException is thrown. Below has to be the problem code, because it is the only place that it differs for the different outputs.


Am I missing something obvious here?

Mike Firkser
Rutgers '84
Mike Firkser
Ranch Hand

Joined: Oct 21, 2003
Posts: 247

Problem disappeared, don't know why.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jasper Reports getting resubmitted to a servlet