Jump to content
We've recently updated our Privacy Statement, available here ×

run report by url displays html but not pdf


brunofreschi

Recommended Posts

I am new to Jasper Report Server and try to achieve to call a report that returns a PDF with the following unsuccessfully:

http://localhost:8080/jasperserver/flow.html?_flowId=viewReportFlow&reportUnit=/reports/forms/Test&ParentFolderUri=/reports/forms&output=pdf&j_username=jasperadmin&j_password=jasperadmin&idarg=1

Internet Explorer gives the following Error: The page cannot be displayed

with output=html or csv this works fine, but not with any other output formats including pdf. I also checked the tomcat log files but there are no erros reported. If I run the report in the report server gui and click on the PDF icon, the same report displays fine (seems to be a javascript function with that icon).

Thank you for any help with this! I am using Jasper Server version 3.1 (just downloaded at beginning of the week).



Post Edited by Bruno Freschi at 02/28/09 00:01
Link to comment
Share on other sites

  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...

I am having the same problem as well... 

This works:

http://web:9080/jasperserver/flow.html?_flowId=viewReportFlow&reportUnit=/reports/test&standAlone=true&ParentFolderUri=/reports

 

 This does not

http://web:9080/jasperserver/flow.html?_flowId=viewReportFlow&reportUnit=/reports/test&standAlone=true&ParentFolderUri=/reports&output=pdf

 

i can do output=csv  just no pdf.  

I suspect that it is not passing the mime info to the browser correctly to reder the output, but im just not sure.

--Dennis



Post Edited by dennis messer at 03/12/09 22:35
Link to comment
Share on other sites

Hi all

After some trial and error I figured out, that this is an issue with Internet Explorer. With Firefox this works without problems, but with Internet Explorer you only can call the url with output set to pdf if the link is embedded in the webpage. As soon as the link is in the webpage it works and if you use the same link to enter it manually in the address are, well then the link does not work. I just embedd the link in webpages and the calls work (I am using Tibco GI).

Kind Regards

Bruno

Link to comment
Share on other sites

  • 2 years later...

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...