Jump to content

Export using webservice doesn't work with jrprint format


questionjasper

Recommended Posts

Hello everyone !

So I made a little module for a program to export jasper reports in any format.

This works fine with xml,pdf,csv,xls,rtf and html, but the same code with ?RUN_OUTPUT_FORMAT= JRPRINT doesn't work. I saw in the documentation that it is a valid value though. The line where the error happens is this:

            File remoteFile = lResource.get(File.class);

(lResource being a com.sun.jersey.api.client.WebResource).

And I get a 404 error.

Any idea why JRPRINT files would need a different treatment to be exported ? (I don't know much about Jasper, I only made this web service)

Thank you !

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...