yalaa90 Posted December 14, 2015 Posted December 14, 2015 visualizejsi'm try to emped a report to my web page but it doesn't work<!DOCTYPE html> <html> <head> <script type="text/javascript" src="http://localhost:8080/jasperserver-pro/client/ visualize.js?userLocale=fr&logLevel=debug"> visualize({ server:"http://localhost:8080", auth: { name :"superuser", password :"superuser" } }).done(function(v){ v("#container1").report({ resource: "/public/Analysis_of_Product_Sales_by_City_Report"}); }).fail(function(err){ alert(err.message);}); </script> <title>TODO supply a title</title> </head> <body> <div id="container1"> </div> </body></html>on tomcat log is192.168.1.109 - - [14/Dec/2015:11:23:07 +0200] "GET /jasperserver-pro/client/%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20visualize.js?userLocale=fr&logLevel=debug HTTP/1.1" 404 58332or even if i try to run this script<html> <head> <script type="text/javascript" src="http://192.168.1.109:8080/jasperserver-pro/client/ visualize.js?userLocale=fr&logLevel=debug"> alert('a'); </script> <title>TODO supply a title</title> </head> <body> <div id="container"> </div> </body></html> it doesn't work
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now