got data analysis servlet partially working