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

i can't use visualizejs 404 58332


yalaa90

Recommended Posts

visualizejs

i'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 is

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

or 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

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

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