when we write draw chart using servlet we specify the name of servlet like // Specify the data source URL. query = new google.visualization.Query('MyServlet');
Now suppose we want to do error handling while parsing data from Servlet and redirect to another page if error occurs , i am not able to do it. When my servlet parses data dynamically and if any error occurs in the file i want to redirest the page saying. respose.sendredirect(/some page); but i can do it since the servlet is actually called by google.visualization.Query('MyServlet'); which is actually a call back function ... is there any way to change the page if an error occurs in Servlet page whivh is called by google.visualization.Query() ? any suggestions will be helpfull. I tried to exit using request dispacher , redirect method put failed since its part of the callback from the google chart page. -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to google-visualization-...@googlegroups.com. To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.