help open report in jsp ( using a web browser)

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

hey people.  i have in a jsp code of my report (it works fine) , but the data what i use on it is in a javascript file.

All is good, i send my data with http post, i can read it in my jsp ( i use some system.out and i saw my data)

but the thing is how can i display it in my browser?

 

note: before i used a method in js called window.open(url+"?data="+JSON.stringify(params), "_blank"); but i had to change it for http post because i could not send big data.

but i worked fine with small data..

 

Any idea Thanks..!

jesus_jfri's picture
Joined: Oct 7 2015 - 2:59pm
Last seen: 5 years 9 months ago

1 Answer:

If you have commercial version, you can use visualize.js.

If you have community version, you can just call REST API to get the report in html format and just do a innerHTML to set the report in you html page. The following page contains the syntax to get the report (in production, recommend you use async reportexecutions)

http://community.jaspersoft.com/documentation/tibco-jasperreports-server...

hozawa's picture
131782
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 3 weeks ago
Feedback
randomness