google visualization - Need a design approach or suggestion for a simple structure using Servlet -
I have to design in such a way that whenever a user passes the query, I do this by using the servlet And then call the JS page to draw a chart
1> The user writes a question on a page 2> PublicService class class MyServlet Httpservlet implements the DataSourceServlet {... .. return data users see such a beautiful string .. Google. Visualization.Collices.Setterspension ......... / Tiger'i ,,,, 80.0}, {v: false}}}}}}); 3> This draws the chart when the user hits on different html pages myhtml.js.
I want the MyServlet class to call the myhtml.js page and attract the chart directly. And want to end the beautiful string google.visualization.Query.setResponse ......... / Tiger '}, {v: 80.0}, {v: false}}}}}}}; What should I do by coming to the user's browser? I tried to call the request sender (), to call the other page like the function, redirect the myhtml.js page (directly to call the query results after the myservlet process). But I get the results of this google.visualization.Query.setResponse ......... / Tiger '}, {v: 80.0}, {v: false}}}]}}}; And the entire myhtml.js code page below has been attracted without a chart on the browser.
Is there a chart similar to adding a beautiful string to the client browser? :)
This small tutorial is following the following:
This little bit It is a bit difficult to follow, but I think you see this problem from the wrong side.
As HTTP is actually a pull technique, the HTML page is very easy to call the myhtml.js functionality and request data from servlets.
Javascript javascript from servlets requires JavaScript to be used?
Comments
Post a Comment