File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jasper Reports getting resubmitted to a servlet

 
Mike Firkser
Ranch Hand
Posts: 249
Java Oracle PHP
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 249
Java Oracle PHP
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem disappeared, don't know why.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic