Is there anyway to " ELIMINATE " the beautiful string from coming on clients browser
On Sun, Jun 13, 2010 at 6:04 PM, CounterStrike <[email protected]>wrote: > Hi > I have to design such that whenever user pass a query I process it > using servlet and then call the js page to draw the chart > > 1> user writes a query on a page > 2> the page call the servelt class > public class MyServlet extends Httpservlet implements > DataSourceServlet {..... return data > The user see a beautiful string like this.. > google.visualization.Query.setResponse......... /Tiger'},{v:80.0}, > {v:false}]}]}}); > 3> when the user hits on different html page myhtml.js it draws the > chart. > > I want the Myservlet class itself call the myhtml.js page and draw > the chart directly. > and want to eliminate the beautiful string > google.visualization.Query.setResponse......... /Tiger'},{v:80.0}, > {v:false}]}]}}); > from coming on user's browser > What should i do? > I tried using functions to call another page like request > dispatcher(), redirect() calling myhtml.js page directly after > myservlet process the query results. > But i get the result like this > google.visualization.Query.setResponse......... /Tiger'},{v:80.0}, > {v:false}]}]}}); > and the entire myhtml.js code page below it on the browsers that to > without the chart been draw. > > Is there anyway to element the beautiful string from coming on clients > browser > and only show them the chart been drawn ? :) -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
