I know that the above question is not totally related to viz project but if datatypes are not properly defined the J2EE prog crash ... and i need to restart the tomcat for it. Also if a user sends a query with same column name twice or more than twice in the same query then the chart fails to draw , where as its a valid mysql query. Is there any solution to it. regards, Akku
On Jul 27, 2:34 pm, Student <[email protected]> wrote: > 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 [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.
