Made a dynamic database bar chart for each customer when submit a request to another jsp which pulled the data from database and create chart. First time this works fine after that when posted the same for some other customer, this displays the older chart.

Any help will be highly appreciated.