help open report in jsp ( using a web browser)

0

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: 3 years 11 months ago

1 Answer:

0

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
64258
Joined: Apr 24 2010 - 4:31pm
Last seen: 1 year 1 month ago
Feedback
randomness